示例#1
0
 def test_thirty_one_dec(self):
     self.assertEqual(next_date(date="2020/12/31"), "2021/1/1")
示例#2
0
 def test_thirty(self):
     self.assertEqual(next_date(date="2020/4/30"), "2020/5/1")
示例#3
0
 def test_feb_non_leap(self):
     self.assertEqual(next_date(date="2019/2/28"), "2019/3/1")
示例#4
0
 def test_feb_leap(self):
     self.assertEqual(next_date(date="2020/2/29"), "2020/3/1")
示例#5
0
 def test_thirty_one(self):
     self.assertEqual(next_date(date="2020/1/31"), "2020/2/1")
示例#6
0
 def test_one(self):
     self.assertEqual(next_date(date="2020/1/1"), "2020/1/2")