示例#1
0
 def test_equals_2(self):
     self.assertEqual(splitInteger(10, 1), [10])
示例#2
0
 def test_equals_4(self):
     self.assertEqual(splitInteger(20, 5), [4, 4, 4, 4, 4])
示例#3
0
 def test_equals(self):
     self.assertEqual(splitInteger(20, 6), [3, 3, 3, 3, 4, 4])
示例#4
0
 def test_equals_3(self):
     self.assertEqual(splitInteger(2, 2), [1, 1])