def testprime3(self):
     self.assertEqual(hw.prime(37), True)
 def testprime1(self):
     self.assertEqual(hw.prime(17), True)
 def testprime2(self):
     self.assertEqual(hw.prime(27), False)
 def testprime4(self):
     self.assertEqual(hw.prime(117), False)
Exemple #5
0
 def testprime4(self):
     self.assertEqual(hw.prime(117), False)
Exemple #6
0
 def testprime3(self):
     self.assertEqual(hw.prime(37), True)
Exemple #7
0
 def testprime2(self):
     self.assertEqual(hw.prime(27), False)
Exemple #8
0
 def testprime1(self):
     self.assertEqual(hw.prime(17), True)