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