def test_compute_in_time_average_0day_2(self): first = 0 second = 10 expected = True compute_in_time_average = Average(first, second).compute_in_time_average( 0, 30) self.assertEqual(compute_in_time_average, expected)
def test_compute_in_time_average__20days_3(self): first = 3 second = 10 expected = True compute_in_time_average = Average(first, second).compute_in_time_average( 20, 100) self.assertEqual(compute_in_time_average, expected)
def test_compute_in_time_average_all_day_False_2(self): first = 9 second = 10 expected = False compute_in_time_average = Average(first, second).compute_in_time_average( 30, 30) self.assertEqual(compute_in_time_average, expected)