Example #1
0
 def test_1900(self):
     self.assertEqual(isLeap(1900), "Bukan kabisat")
Example #2
0
 def test_str(self):
     self.assertFalse(isLeap('string'))
Example #3
0
 def test_2001(self):
     self.assertEqual(isLeap(2001), "Bukan kabisat")
Example #4
0
 def test_negatif(self):
     self.assertFalse(isLeap(-3))
Example #5
0
 def test_2000(self):
     self.assertEqual(isLeap(2000), "Kabisat")