Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cash Register" bonfire bug #103

Closed
letalumil opened this issue Feb 16, 2015 · 0 comments
Closed

"Cash Register" bonfire bug #103

letalumil opened this issue Feb 16, 2015 · 0 comments

Comments

@letalumil
Copy link
Contributor

In the following test-case expected ['TWENTY', 80.00], but only ['TWENTY', 60.00] available.

assert.deepEqual(drawer(3.26, 100.00,

[['PENNY', 1.01], 
['NICKEL', 2.05], 
['DIME', 3.10], 
['QUARTER', 4.25], 
['ONE', 90.00], 
['FIVE', 55.00], 
['TEN', 20.00], 
['TWENTY', 60.00],
['ONE HUNDRED', 100.00]]),

[['TWENTY', 80.00], 
['TEN', 10.00], 
['FIVE', 5], 
['ONE', 1], 
['QUARTER', 0.50], 
['DIME', 0.20], 
['PENNY', 0.04]],

'return correct change with multiple coins and bills');

I'm going to fix it and make a pull request.

terakilobyte added a commit that referenced this issue Feb 16, 2015
Fix 'Cash Register' bonfire bug. Closes #103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant