示例#1
0
 def test_one_to_89(self):
     self.assertEqual(sum_dig_pow(1, 100), [1, 2, 3, 4, 5, 6, 7, 8, 9, 89])
示例#2
0
 def test_89_to_135(self):
     self.assertEqual(sum_dig_pow(89, 135), [89, 135])
示例#3
0
 def test_ten_to_100(self):
     self.assertEqual(sum_dig_pow(10, 100), [89])
示例#4
0
 def test_ninety_to_100(self):
     self.assertEqual(sum_dig_pow(90, 100), [])
示例#5
0
 def test_ten_to_89(self):
     self.assertEqual(sum_dig_pow(10, 89), [89])