Example #1
0
 def test_1955_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1955))
Example #2
0
 def test_2012_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2012))
Example #3
0
 def test_1600_eh_bissexto(self):
     self.assertTrue(eh_bissexto(1600))
    def test_1900(self):
        entrada = 1900

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)
    def test_1600(self):
        entrada = 1600

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
    def test_1732(self):
        entrada = 1732

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
    def test_1732(self):
        entrada = 1732

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
Example #8
0
 def test_1900_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1900))
Example #9
0
 def test_2000_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2000))
Example #10
0
 def test_1600_eh_bissexto(self):
     self.assertTrue(eh_bissexto(1600))
Example #11
0
 def test_1955_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1955))
Example #12
0
 def test_2012_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2012))
    def test_1600(self):
        entrada = 1600

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
    def test_1900(self):
        entrada = 1900

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)
Example #15
0
 def test_1900_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1900))
    def test_1742(self):
        entrada = 1742

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)
Example #17
0
 def test_2000_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2000))
    def test_1742(self):
        entrada = 1742

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)