class TestPrimeFactorerForNine(unittest.TestCase):
  def setUp(self):
    self.factorer = PrimeFactorer(9)
    self.factorer.generate()

  def test_four(self):
    self.assertEqual(self.factorer.primes, [3, 3])
class TestPrimeFactorerForOne(unittest.TestCase):
  def setUp(self):
    self.factorer = PrimeFactorer(1)
    self.factorer.generate()

  def test_one(self):
    self.assertEqual(self.factorer.primes, [])
class TestPrimeFactorerForEight(unittest.TestCase):
  def setUp(self):
    self.factorer = PrimeFactorer(8)
    self.factorer.generate()

  def test_four(self):
    self.assertEqual(self.factorer.primes, [2, 2, 2])
class TestPrimeFactorerForThree(unittest.TestCase):
  def setUp(self):
    self.factorer = PrimeFactorer(3)
    self.factorer.generate()

  def test_two(self):
    self.assertEqual(self.factorer.primes, [3])
 def setUp(self):
   self.factorer = PrimeFactorer(9)
   self.factorer.generate()