def test_add_minutes_carry_the_hour(self): test_object = WdcTime("0830") test_object.add_minutes(31) self.assertEqual(test_object.minutes, "01") self.assertEqual(test_object.hours, "09")
def test_add_minutes(self): test_object = WdcTime("0800") test_object.add_minutes(30) self.assertEqual(test_object.minutes, "30")