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