Beispiel #1
0
 def test_is_prime_naive08(self):
     """ Test is_prime_naive """
     self.assertFalse(is_prime_naive(0))
Beispiel #2
0
 def test_is_prime_naive06(self):
     """ Test is_prime_naive """
     self.assertFalse(is_prime_naive(797582))
Beispiel #3
0
 def test_is_prime_naive05(self):
     """ Test is_prime_naive """
     self.assertFalse(is_prime_naive(7917))
Beispiel #4
0
 def test_is_prime_naive04(self):
     """ Test is_prime_naive """
     self.assertTrue(is_prime_naive(2))
Beispiel #5
0
 def test_is_prime_naive02(self):
     """ Test is_prime_naive """
     self.assertTrue(is_prime_naive(1049))
Beispiel #6
0
 def test_is_prime_naive01(self):
     """ Test is_prime_naive """
     self.assertTrue(is_prime_naive(797581))