> .... Can't we use a tuple + a loop instead?

We could. I'd prefer not to though. For me that would make the tests harder to understand. Also, there are two pairs of bounds tested - for frequency and for time and that would complicate the tuple + loop scenario. In other words, I can't think of a way to make this code simpler and more readable by using tuple + loop, what did you have in mind?