Exemple #1
0
 def test_equals_2(self):
     self.assertEqual(sum_digits(65536), 7)
Exemple #2
0
 def test_equals(self):
     self.assertEqual(sum_digits(4523), 5)
Exemple #3
0
 def test_equals_6(self):
     self.assertEqual(sum_digits(99), 9)
Exemple #4
0
 def test_equals_5(self):
     self.assertEqual(sum_digits(41), 5)
Exemple #5
0
 def test_equals_4(self):
     self.assertEqual(sum_digits(100), 1)
Exemple #6
0
 def test_equals_3(self):
     self.assertEqual(sum_digits(0), 0)