示例#1
0
 def test_2(self):
     self.assertEqual(Base23.get_proper_divisors(2), set([1]))
示例#2
0
 def test_4(self):
     self.assertFalse(Base23.is_sum_of_two_abundant(4))
示例#3
0
 def test_28124(self):
     self.assertTrue(Base23.is_sum_of_two_abundant(28124))
示例#4
0
 def test_121(self):
     self.assertFalse(Base23.is_abundand(121))
示例#5
0
 def test_1(self):
     self.assertEqual(Base23.get_proper_divisors(1), set([]))
示例#6
0
 def test_119(self):
     self.assertFalse(Base23.is_abundand(119))
示例#7
0
 def test_120(self):
     self.assertTrue(Base23.is_abundand(120))
示例#8
0
 def test_28(self):
     self.assertFalse(Base23.is_abundand(28))
示例#9
0
 def test_18(self):
     self.assertTrue(Base23.is_abundand(18))
示例#10
0
 def test_4(self):
     self.assertFalse(Base23.is_abundand(4))
示例#11
0
 def test_28(self):
     self.assertEqual(Base23.get_proper_divisors(28), set([1, 2, 4, 7, 14]))
示例#12
0
 def test_4(self):
     self.assertEqual(Base23.get_proper_divisors(4), set([1, 2]))