public void Counter_ShouldReturnLowestNumberOfBills_ForRequestedValue(int value, int of10, int of20, int of50, int of100) { var bills = counter.GetMinimalNumberOfBills(value); Assert.Equal(of10, bills.Of10); Assert.Equal(of20, bills.Of20); Assert.Equal(of50, bills.Of50); Assert.Equal(of100, bills.Of100); }
public MoneyAmount Withdraw(int valueToWithdraw) { return(counter.GetMinimalNumberOfBills(valueToWithdraw)); }