Пример #1
0
 def test_case_1(self):
     self.assertEqual(numberOfWaysToMakeChange(0, [2, 3, 4, 7]), 1)
Пример #2
0
 def test_case_2(self):
     self.assertEqual(numberOfWaysToMakeChange(9, [5]), 0)
Пример #3
0
 def test_case_9(self):
     self.assertEqual(numberOfWaysToMakeChange(12, [2, 3, 7]), 4)
Пример #4
0
 def test_case_8(self):
     self.assertEqual(numberOfWaysToMakeChange(25, [1, 5, 10, 25]), 13)
Пример #5
0
 def test_case_7(self):
     self.assertEqual(numberOfWaysToMakeChange(10, [1, 5, 10, 25]), 4)
Пример #6
0
 def test_case_4(self):
     self.assertEqual(numberOfWaysToMakeChange(6, [1, 5]), 2)
Пример #7
0
 def test_case_3(self):
     self.assertEqual(numberOfWaysToMakeChange(7, [2, 4]), 0)