Example #1
0
 def testPrimes_573(self):
     self.assertEquals([3, 191], primes.primes(573))
Example #2
0
 def testPrimes_one(self):
     self.assertEquals([], primes.primes(1))
Example #3
0
 def testPrimes_1490(self):
     self.assertEquals([2, 5, 149], primes.primes(1490))
Example #4
0
 def testPrimes_572(self):
     self.assertEquals([2, 2, 11, 13], primes.primes(572))
Example #5
0
 def testPrimes_191(self):
     self.assertEquals([191], primes.primes(191))
Example #6
0
 def testPrimes_490(self):
     self.assertEquals([2, 5, 7, 7], primes.primes(490))
Example #7
0
 def testPrimes_nine(self):
     self.assertEquals([3, 3], primes.primes(9))
Example #8
0
 def testPrimes_49(self):
     self.assertEquals([7, 7], primes.primes(49))
Example #9
0
 def testPrimes_eight(self):
     self.assertEquals([2, 2, 2], primes.primes(8))
Example #10
0
 def testPrimes_six(self):
     self.assertEquals([2, 3], primes.primes(6))
Example #11
0
 def testPrimes_four(self):
     self.assertEquals([2, 2], primes.primes(4))
Example #12
0
 def testPrimes_three(self):
     self.assertEquals([3], primes.primes(3))
Example #13
0
 def testPrimes_two(self):
     self.assertEquals([2], primes.primes(2))