Example #1
0
 def test_last(self):
     self.assertEqual(day_of_month_w(31, 2019, 3), 29)
Example #2
0
 def test_1st(self):
     self.assertEqual(day_of_month_w(1, 2019, 6), 3)
Example #3
0
 def test_saturday(self):
     self.assertEqual(day_of_month_w(23, 2019, 11), 22)
Example #4
0
 def test_sunday(self):
     self.assertEqual(day_of_month_w(11, 2019, 8), 12)
Example #5
0
 def test_weekday(self):
     self.assertEqual(day_of_month_w(14, 2019, 2), 14)