示例#1
0
 def test_is_prime_optimized08(self):
     """ Test is_prime_optimized """
     self.assertFalse(is_prime_optimized(0))
示例#2
0
 def test_is_prime_optimized06(self):
     """ Test is_prime_optimized """
     self.assertFalse(is_prime_optimized(797582))
示例#3
0
 def test_is_prime_optimized05(self):
     """ Test is_prime_optimized """
     self.assertFalse(is_prime_optimized(7917))
示例#4
0
 def test_is_prime_optimized04(self):
     """ Test is_prime_optimized """
     self.assertTrue(is_prime_optimized(2))
示例#5
0
 def test_is_prime_optimized02(self):
     """ Test is_prime_optimized """
     self.assertTrue(is_prime_optimized(1049))
示例#6
0
 def test_is_prime_optimized01(self):
     """ Test is_prime_optimized """
     self.assertTrue(is_prime_optimized(797581))