12 lines
239 B
Python
12 lines
239 B
Python
|
from dynamic_programming.dynamic_programming import *
|
||
|
|
||
|
|
||
|
def test_dp_rec_mc1():
|
||
|
cash = 49
|
||
|
changes = [1, 5, 10, 20, 50]
|
||
|
assert 7 == dp_rec_mc1(changes, cash)
|
||
|
|
||
|
|
||
|
def test_dp_rec_mc2():
|
||
|
cash = 49
|
||
|
changes = [1, 5, 10, 20, 50]
|