Пример #1
0
 def test_20000_divisivel_por_400(self):
     return self.assertTrue(bissextile.are_divisible(20000, 400))
Пример #2
0
    def test_3400_divisivel_por_400(self):
        return self.assertFalse(bissextile.are_divisible(3400, 400))

        return self.assertFalse(bissextile.are_divisible(21400, 400))
Пример #3
0
 def test_201150_divisivel_por_100(self):
     return self.assertFalse(bissextile.are_divisible(201150, 100))
Пример #4
0
 def test_15600_divisivel_por_100(self):
     return self.assertTrue(bissextile.are_divisible(15600, 100))
Пример #5
0
 def test_70_divisivel_por_4(self):
     self.assertFalse(bissextile.are_divisible(70, 4))
Пример #6
0
 def test_20_divisivel_por_4(self):
     self.assertTrue(bissextile.are_divisible(20, 4))
Пример #7
0
 def test_16_divisivel_por_4(self):
     self.assertTrue(bissextile.are_divisible(16, 4))