def test_LeapYear(self): # result = leapYear.isLeapYear(2000) self.assertEqual(leapYear.isLeapYear(2000), True)
def test_LeapYear2(self): # result = leapYear.isLeapYear(1700) self.assertEqual(leapYear.isLeapYear(1700), False)
def test_leapYear6_ut(self): self.assertTrue(leapYear.isLeapYear("2000"), 2)
def test_leapYear7_ut(self): self.assertFalse(leapYear.isLeapYear(1800))
def test_leapYear4_py(): assert leapYear.isLeapYear(2004) == 1
def test_leapYear5_py(): assert leapYear.isLeapYear("asdf") == 2
def test_leapYear3_py(): assert leapYear.isLeapYear(1900) == 0
def test_leapYear2_py(): assert leapYear.isLeapYear(2001) == 0
def test_leapYear1_py(): assert leapYear.isLeapYear(2000) == 1
def test_case1(self): self.assertEqual(leapYear.isLeapYear(2021), False)
def test_case2(self): self.assertEqual(leapYear.isLeapYear(2020), True)