def test_ellapsed_with_start(self): timer = Timer(time_counter=TimeCounter(5)) timer.startTimer() self.assertEqual(timer.ellapsed(), 0)
def test_ellapsed(self): timer = Timer(time_counter=TimeCounter(0)) self.assertEqual(timer.ellapsed(), 0)