Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Sorry. Looks like someone's contributions with random tests was wrong. I'll try to fix. Thanks
"give money to user starting from bigger values to lesser"
So, why does the test expect '596 * 5 EUR', when ATM has bigger values - 500, 200, 50 EUR?
same with 'Can't do 2582 EUR. Value must be divisible by 500!'
why should it be divisible by 500, it should be divisible by 5 ....
same,
2980 'EUR'
Expected: '596 * 5 EUR', instead got: '5 * 500 EUR, 2 * 200 EUR, 1 * 50 EUR, 1 * 20 EUR, 1 * 10 EUR'
and 70+ random tests fail like this ... maybe the ATM should give the lowest valued bills first, but i am not sure, that's not mentioned in the task