def test_3_result_3(self): self.assertEqual(prime_factor(3), [3])
def test_276_result_2x2x3x23(self): self.assertEqual(prime_factor(276), [2, 2, 3, 23])
def test_5_result_5(self): self.assertEqual(prime_factor(5), [5])
def test_15_result_3x5(self): self.assertEqual(prime_factor(15), [3, 5])
def test_12_result_2x2x3(self): self.assertEqual(prime_factor(12), [2, 2, 3])
def test_6_result_2x3(self): self.assertEqual(prime_factor(6), [2, 3])
def test_14_result_2x7(self): self.assertEqual(prime_factor(14), [2, 7])
def test_16_result_4x4(self): self.assertEqual(prime_factor(16), [2, 2, 2, 2])
def test_25_result_5x5(self): self.assertEqual(prime_factor(25), [5,5])
def test_9_result_3x3(self): self.assertEqual(prime_factor(9), [3, 3])
def test_7_result_7(self): self.assertEqual(prime_factor(7), [7])
def test_2_result_2(self): self.assertEqual(prime_factor(2), [2])