def test_large_sum_digits(self):
		result = problem20.sum_digits(int(10101010222110))
		self.assertEqual(result, 12)
Beispiel #2
0
 def test_large_sum_digits(self):
     result = problem20.sum_digits(int(10101010222110))
     self.assertEqual(result, 12)
	def test_small_sum_digits(self):
		result = problem20.sum_digits(405)
		self.assertEqual(result, 9)
Beispiel #4
0
 def test_small_sum_digits(self):
     result = problem20.sum_digits(405)
     self.assertEqual(result, 9)