Example #1
0
 def test_two(self):
     self.assertEqual([2], PrimeFactor.generate(2))
Example #2
0
 def test_one(self):
     self.assertEqual([], PrimeFactor.generate(1))
Example #3
0
 def test_nine(self):
     self.assertEqual([3, 3], PrimeFactor.generate(9))
Example #4
0
 def test_eight(self):
     self.assertEqual([2, 2, 2], PrimeFactor.generate(8))
Example #5
0
 def test_four(self):
     self.assertEqual([2, 2], PrimeFactor.generate(4))
Example #6
0
 def test_three(self):
     self.assertEqual([3], PrimeFactor.generate(3))