'When the number of samples collected is less than the sample
size, the rate is lower than ``target_rate``.'

def test_rate_is_lower_than_target_when_not_enough_samples(self):

    r = RateMeasurer()
    target_rate = 5
    num_samples = (r.sample_size - 1)
    self.increase_rate(r, target_rate, num_samples)
    self.assertTrue((r.rate() < target_rate))
