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