示例#1
0
 def test_is_prime_vanilla_wrong_values(self) :
     for q in self.wrong_values :
         self.assertFalse(numbers.is_prime_vanilla(q))
示例#2
0
 def test_is_prime_vanilla_known_values(self) :
     for p in self.known_values :
         self.assertTrue(numbers.is_prime_vanilla(p))