示例#1
0
 def test003(self):
     numberList = generateNumberList(10)
     checkListForMultiples(10, numberList)
     secondList = [
         False, False, True, True, False, True, False, True, False, False
     ]
     self.assertEqual(numberList, secondList)
示例#2
0
 def test004(self):
     numberList = generateNumberList(10)
     checkListForMultiples(10, numberList)
     primesList = createPrimeNumberList(10, numberList)
     secondList = [2, 3, 5, 7]
     self.assertEqual(primesList, secondList)
示例#3
0
 def test003(self):
     numberList = generateNumberList(10)
     checkListForMultiples(10, numberList)
     secondList = [False, False, True, True, False, True, False, True, False, False]
     self.assertEqual(numberList, secondList)
示例#4
0
 def test004(self):
     numberList = generateNumberList(10)
     checkListForMultiples(10, numberList)
     primesList = createPrimeNumberList(10, numberList)
     secondList = [2, 3, 5, 7]
     self.assertEqual(primesList, secondList)