Пример #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])