示例#1
0
 def test_add_days8_4(self):
     self.assertEqual(add_days(datetime.date(2000, 12, 25), 1, 8),
                      datetime.date(2001, 1, 1))
示例#2
0
 def test_add_days8_2(self):
     self.assertEqual(add_days(datetime.date(2000, 2, 26), 1, 8),
                      datetime.date(2000, 3, 5))
示例#3
0
 def test_add_days8_3(self):
     self.assertEqual(add_days(datetime.date(2001, 2, 26), 1, 8),
                      datetime.date(2001, 3, 6))
示例#4
0
 def test_add_days8_1(self):
     self.assertEqual(add_days(datetime.date(2000, 1, 1), 2, 8),
                      datetime.date(2000, 1, 17))