Exemple #1
0
 def test_getNumberOfDivisors3(self):
     self.assertEqual(problem12.getNumberOfDivisors(3), 2)
Exemple #2
0
 def test_getNumberOfDivisors1(self):
     self.assertEqual(problem12.getNumberOfDivisors(1), 1)
Exemple #3
0
 def test_getNumberOfDivisors25(self):
     self.assertEqual(problem12.getNumberOfDivisors(25), 3)
Exemple #4
0
 def test_getNumberOfDivisors28(self):
     self.assertEqual(problem12.getNumberOfDivisors(28), 6)
Exemple #5
0
 def test_getNumberOfDivisors6(self):
     self.assertEqual(problem12.getNumberOfDivisors(6), 4)