def test_is_definitely_prime_2(self): actual = pyprime.is_definitely_prime(12) expected = False self.assertEqual(expected, actual)
def test_is_definitely_prime_5(self): with self.assertRaises(ValueError): _ = pyprime.is_definitely_prime(-1)
def test_is_definitely_prime_1(self): actual = pyprime.is_definitely_prime(11) expected = True self.assertEqual(expected, actual)