Esempio n. 1
0
 def test_1952_leap_year(self):
     self.assertTrue(is_leap(1952))
Esempio n. 2
0
 def test_1990_not_leap_year(self):
     self.assertFalse(is_leap(1990))
Esempio n. 3
0
 def test_2000_leap_year(self):
     self.assertTrue(is_leap(2000))
Esempio n. 4
0
def test_is_leap_09():
    total = is_leap(24)
    assert total == True
Esempio n. 5
0
def test_is_leap_02():
    total = is_leap(2020)
    assert total == True
Esempio n. 6
0
def test_is_leap_07():
    total = is_leap(2200)
    assert total == False
Esempio n. 7
0
def test_is_leap_08():
    total = is_leap(2300)
    assert total == False
Esempio n. 8
0
def test_is_leap_01():
    total = is_leap(1980)
    assert total == True
Esempio n. 9
0
def test_is_leap_06():
    total = is_leap(2100)
    assert total == False
Esempio n. 10
0
def test_is_leap_05():
    total = is_leap(2400)
    assert total == True
Esempio n. 11
0
def test_is_leap_04():
    total = is_leap(2000)
    assert total == True
Esempio n. 12
0
def test_is_leap_03():
    total = is_leap(1990)
    assert total == False