mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-14 13:28:03 +00:00
Fixed pull request changes
This commit is contained in:
@@ -4,9 +4,9 @@ from nose.tools import assert_equal
|
||||
class Challenge(object):
|
||||
|
||||
def test_coinchange_ways(self,solution):
|
||||
assert_equal(solution(0,2,[1,2]), 0)
|
||||
assert_equal(solution(100,3,[1,2,3]), 884)
|
||||
assert_equal(solution(1000,100,range(1,101)), 15658181104580771094597751280645)
|
||||
assert_equal(solution(0, [1, 2]), 0)
|
||||
assert_equal(solution(100, [1, 2, 3]), 884)
|
||||
assert_equal(solution(1000, range(1, 101)), 15658181104580771094597751280645)
|
||||
print('Success: test_coinchange_ways')
|
||||
|
||||
|
||||
@@ -16,4 +16,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user