Beispiel #1
0
 def test_properdivisors284(self):
     expected = [1, 2, 4, 71, 142]
     self.assertEqual(expected, properdivisors(284))
Beispiel #2
0
 def test_properdivisors10(self):
     expected = [1, 2, 5]
     self.assertEqual(expected, properdivisors(10))
Beispiel #3
0
 def test_properdivisors11(self):
     expected = [1]
     self.assertEqual(expected, properdivisors(11))
Beispiel #4
0
 def test_properdivisors9(self):
     expected = [1, 3]
     self.assertEqual(expected, properdivisors(9))