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