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

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)
コード例 #5
0
    def test_1600(self):
        entrada = 1600

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
コード例 #6
0
    def test_1732(self):
        entrada = 1732

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
コード例 #7
0
    def test_1732(self):
        entrada = 1732

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
コード例 #8
0
ファイル: test.py プロジェクト: hltbra/dojo_globocom
 def test_1900_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1900))
コード例 #9
0
ファイル: test.py プロジェクト: hltbra/dojo_globocom
 def test_2000_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2000))
コード例 #10
0
ファイル: test.py プロジェクト: hltbra/dojo_globocom
 def test_1600_eh_bissexto(self):
     self.assertTrue(eh_bissexto(1600))
コード例 #11
0
ファイル: test.py プロジェクト: hltbra/dojo_globocom
 def test_1955_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1955))
コード例 #12
0
ファイル: test.py プロジェクト: hltbra/dojo_globocom
 def test_2012_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2012))
コード例 #13
0
    def test_1600(self):
        entrada = 1600

        bissexto = eh_bissexto(entrada)
        self.assertTrue(bissexto)
コード例 #14
0
    def test_1900(self):
        entrada = 1900

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)
コード例 #15
0
 def test_1900_nao_eh_bissexto(self):
     self.assertFalse(eh_bissexto(1900))
コード例 #16
0
    def test_1742(self):
        entrada = 1742

        bissexto = eh_bissexto(entrada)
        self.assertFalse(bissexto)
コード例 #17
0
 def test_2000_eh_bissexto(self):
     self.assertTrue(eh_bissexto(2000))
コード例 #18
0
    def test_1742(self):
        entrada = 1742

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