Exemple #1
0
 def test_true_2(self):
     self.assertTrue(is_square(25))
Exemple #2
0
 def test_true(self):
     self.assertTrue(is_square(4))
Exemple #3
0
 def test_false_2(self):
     self.assertFalse(is_square(3))
Exemple #4
0
 def test_false_3(self):
     self.assertFalse(is_square(26))
Exemple #5
0
 def test_false(self):
     self.assertFalse(is_square(-1))