def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = date(1997, 4, 8) your_gigasecond = date(2028, 12, 15) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = date(1776, 7, 4) your_gigasecond = date(1808, 3, 13) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): your_birthday = date(1970, 1, 1) your_gigasecond = date(2001, 9, 9) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = date(1989, 9, 17) your_gigasecond = date(2021, 5, 26) # sqrt: 2020-12-20. katrin.im.sommer: 2021-5-26 self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = datetime(1978, 3, 4) your_gigasecond = datetime(2009, 11, 10, 1, 46,40) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = datetime(1989, 5, 24) your_gigasecond = datetime(2015, 6, 5, 1, 46, 40) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = date(1994, 7, 18) your_gigasecond = date(2026, 3, 26) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = date(1970, 1, 1) your_gigasecond = date(2001, 9, 9) self.assertEqual( your_gigasecond, add_gigasecond(your_birthday) )
def test_date_only_specification_of_time(self): self.assertEqual( add_gigasecond(datetime(2011, 4, 25)), datetime(2043, 1, 1, 1, 46, 40))
def test_2(self): self.assertEqual( date(2009, 2, 19), add_gigasecond(date(1977, 6, 13)) )
def test_another_date_only_specification_of_time(self): self.assertEqual(add_gigasecond(datetime(1977, 6, 13)), datetime(2009, 2, 19, 1, 46, 40))
def test_full_time_specified(self): self.assertEqual( add_gigasecond(datetime(2015, 1, 24, 22, 0, 0)), datetime(2046, 10, 2, 23, 46, 40))
def test_full_time_specified(self): self.assertEqual(add_gigasecond(datetime(2015, 1, 24, 22, 0, 0)), datetime(2046, 10, 2, 23, 46, 40))
def test_3(self): self.assertEqual(add_gigasecond(datetime(1959, 7, 19)), datetime(1991, 3, 27, 1, 46, 40))
def test_4(self): self.assertEqual(add_gigasecond(datetime(2015, 1, 24, 22, 0, 0)), datetime(2046, 10, 2, 23, 46, 40))
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = datetime(1986, 1, 30) your_gigasecond = datetime(2017, 10, 8, 1, 46, 40) self.assertEqual(add_gigasecond(your_birthday), your_gigasecond)
def test_2(self): self.assertEqual(add_gigasecond(datetime(1977, 6, 13)), datetime(2009, 2, 19, 1, 46, 40))
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = datetime(1989, 10, 14, 10) your_gigasecond = datetime(2021, 6, 22, 11, 46, 40) self.assertEqual(add_gigasecond(your_birthday), your_gigasecond)
def test_yourself(self): # customize this to test your birthday and find your gigasecond date: your_birthday = datetime(1970, 1, 1) your_gigasecond = datetime(2001, 9, 9, 1, 46, 40) self.assertEqual(add_gigasecond(your_birthday), your_gigasecond)
def test_full_time_with_day_roll_over(self): self.assertEqual(add_gigasecond(datetime(2015, 1, 24, 23, 59, 59)), datetime(2046, 10, 3, 1, 46, 39))
def test_another_date_only_specification_of_time(self): self.assertEqual( add_gigasecond(datetime(1977, 6, 13)), datetime(2009, 2, 19, 1, 46, 40))
def test_2(self): self.assertEqual( datetime(2009, 2, 19, 1, 46, 40), add_gigasecond(datetime(1977, 6, 13)) )
def test_one_more_date_only_specification_of_time(self): self.assertEqual( add_gigasecond(datetime(1959, 7, 19)), datetime(1991, 3, 27, 1, 46, 40))
def test_4(self): self.assertEqual( datetime(2046, 10, 2, 23, 46, 40), add_gigasecond(datetime(2015, 1, 24, 22, 0, 0)) )
def test_full_time_with_day_roll_over(self): self.assertEqual( add_gigasecond(datetime(2015, 1, 24, 23, 59, 59)), datetime(2046, 10, 3, 1, 46, 39))
def test_one_more_date_only_specification_of_time(self): self.assertEqual(add_gigasecond(datetime(1959, 7, 19)), datetime(1991, 3, 27, 1, 46, 40))
def test_3(self): self.assertEqual( datetime(1991, 3, 27, 1, 46, 40), add_gigasecond(datetime(1959, 7, 19)) )
def test_1(self): self.assertEqual( datetime(2043, 1, 1, 1, 46, 40), add_gigasecond(datetime(2011, 4, 25)) )
def test_5(self): self.assertEqual( datetime(2046, 10, 3, 1, 46, 39), add_gigasecond(datetime(2015, 1, 24, 23, 59, 59)) )
def test_date_only_specification_of_time(self): self.assertEqual(add_gigasecond(datetime(2011, 4, 25)), datetime(2043, 1, 1, 1, 46, 40))
def test_1(self): self.assertEqual( datetime(2043, 1, 1, 1, 46, 40), add_gigasecond(datetime(2011, 4, 25)) )
def test_5(self): self.assertEqual( datetime(2046, 10, 3, 1, 46, 39), add_gigasecond(datetime(2015, 1, 24, 23, 59, 59)) )