def test_prime_num_of_div_1(self): self.assertEqual(True, solution.prime_number_of_divisors(7))
def test_with_2(self): self.assertEqual(True, solution.prime_number_of_divisors(2))
def test_false(self): self.assertFalse(solution.prime_number_of_divisors(8))
def test_prime_number_of_divisors(self): self.assertEqual(prime_number_of_divisors(7), True) self.assertEqual(prime_number_of_divisors(8), False) self.assertEqual(prime_number_of_divisors(9), True) self.assertEqual(prime_number_of_divisors(22), False)
def test_prime_num_of_div_2(self): self.assertEqual(False, solution.prime_number_of_divisors(8))
def test0(self): self.assertTrue(prime_number_of_divisors(7))
def test_two(self): self.assertFalse(prime_number_of_divisors(8))
def test_three(self): self.assertTrue(prime_number_of_divisors(9))
def test_two(self): self.assertEqual(False, prime_number_of_divisors(8))
def test_prime_number_of_divisors(self): self.assertTrue(solution.prime_number_of_divisors(7)) self.assertFalse(solution.prime_number_of_divisors(8)) self.assertTrue(solution.prime_number_of_divisors(9))
def test_one(self): self.assertEqual(True, prime_number_of_divisors(7))
def test_tree(self): self.assertEqual(True, prime_number_of_divisors(9))
def test_truth(self): self.assertEqual(True, solution.prime_number_of_divisors(7)) self.assertEqual(True, solution.prime_number_of_divisors(29)) self.assertEqual(True, solution.prime_number_of_divisors(31)) self.assertEqual(False, solution.prime_number_of_divisors(8)) self.assertEqual(True, solution.prime_number_of_divisors(0))
def test_solution(self): self.assertEqual(True,prime_number_of_divisors(28)) self.assertEqual(True,prime_number_of_divisors(9))
def test_one(self): self.assertTrue(prime_number_of_divisors(7))
def test_prime_number_of_divisors_8(self): self.assertEqual("False", solution.prime_number_of_divisors(8))
def test_solution(self): self.assertEqual(True, prime_number_of_divisors(7)) self.assertEqual(False, prime_number_of_divisors(8)) self.assertEqual(True, prime_number_of_divisors(9))
def test_3(self): self.assertEqual(True, prime_number_of_divisors(9))
def testing_prime_num_of_div_8(self): self.assertFalse(prime_number_of_divisors(8))
def test_negative_number(self): self.assertEqual(False, solution.prime_number_of_divisors(-1241))
def test_prime_number_of_divisors(self): self.assertTrue(True, prime_number_of_divisors(7)) # True self.assertFalse(False, prime_number_of_divisors(8)) # False self.assertTrue(True, prime_number_of_divisors(9))
def test_with_1(self): self.assertEqual(False, solution.prime_number_of_divisors(1))
def test_prime_number_of_divisors(self): self.assertTrue(prime_number_of_divisors(7)) self.assertTrue(not prime_number_of_divisors(8)) self.assertTrue(prime_number_of_divisors(9)) self.assertTrue(not prime_number_of_divisors(1)) self.assertTrue(prime_number_of_divisors(2))
def test_problem_statement_cases(self): self.assertEqual(True, prime_number_of_divisors(7)) self.assertEqual(False, prime_number_of_divisors(8)) self.assertEqual(True, prime_number_of_divisors(9))
def test_for_sum(self): self.assertEqual(False,solution.prime_number_of_divisors(1241))
def test_true(self): self.assertTrue(solution.prime_number_of_divisors(7))
def test_negative_number(self): self.assertEqual(False,solution.prime_number_of_divisors(-1241))
def test_truth(self): self.assertEqual(True,solution.prime_number_of_divisors(7)) self.assertEqual(True,solution.prime_number_of_divisors(29)) self.assertEqual(True,solution.prime_number_of_divisors(31)) self.assertEqual(False,solution.prime_number_of_divisors(8)) self.assertEqual(True,solution.prime_number_of_divisors(0))
def test_prime_number_of_divisors_7(self): self.assertEqual("True", solution.prime_number_of_divisors(7))
def test_not_prime(self): self.assertTrue(not prime_number_of_divisors(8))
def test_prime_number_of_divisors_0(self): self.assertEqual(True, prime_number_of_divisors(7))
def test_prime_number_of_divisors_1(self): self.assertEqual(False, prime_number_of_divisors(8))
def test_prime_number_of_divisors(self): self.assertEqual(True, solution.prime_number_of_divisors(7)) self.assertEqual(False, solution.prime_number_of_divisors(8)) self.assertEqual(True, solution.prime_number_of_divisors(9))
def test_with_composite_numbers(self): self.assertTrue(solution.prime_number_of_divisors(4)) self.assertFalse(solution.prime_number_of_divisors(12))
def test1(self): self.assertFalse(prime_number_of_divisors(8))
def test_with_prime_numbers(self): self.assertTrue(solution.prime_number_of_divisors(101)) self.assertTrue(solution.prime_number_of_divisors(13))
def testing_prime_num_of_div_9(self): self.assertTrue(prime_number_of_divisors(9))
def test_for_sum(self): self.assertEqual(False, solution.prime_number_of_divisors(1241))