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