示例#1
0
 def test_true_2(self):
     self.assertTrue(amicable_numbers(1184, 1210))
示例#2
0
 def test_false_4(self):
     self.assertFalse(amicable_numbers(999220, 2849))
示例#3
0
 def test_true(self):
     self.assertTrue(amicable_numbers(220, 284))
示例#4
0
 def test_false_3(self):
     self.assertFalse(amicable_numbers(299920, 9284))
示例#5
0
 def test_false_2(self):
     self.assertFalse(amicable_numbers(220221, 282224))
示例#6
0
 def test_false(self):
     self.assertFalse(amicable_numbers(220, 280))
示例#7
0
 def test_true_4(self):
     self.assertTrue(amicable_numbers(122265, 139815))
示例#8
0
 def test_true_3(self):
     self.assertTrue(amicable_numbers(10744, 10856))