Example #1
0
 def test_50000_is_not_prime(self):
     assert not isprime(50000)
Example #2
0
 def test_4_is_not_prime(self):
     assert not isprime(4)
Example #3
0
 def test_44909_is_prime(self):
     assert isprime(44909)
Example #4
0
 def test_2_is_prime(self):
     assert isprime(2)
Example #5
0
 def test_7_is_prime(self):
     assert isprime(7)
Example #6
0
 def test_50000_is_not_prime(self):
     assert not isprime(50000)
Example #7
0
 def prime_number(self, value):
     if isprime(value):
         self._prime_number = value
Example #8
0
 def test_44909_is_prime(self):
     assert isprime(44909)
Example #9
0
 def test_4_is_not_prime(self):
     assert not isprime(4)
Example #10
0
 def test_7_is_prime(self):
     assert isprime(7)
Example #11
0
 def test_2_is_prime(self):
     assert isprime(2)
Example #12
0
 def prime_number(self, value):
     if isprime(value):
         self._prime_number = value