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.
This comment is hidden because it contains spoiler information about the solution
Can someone help me with this testcase?
testequal(0, 10, 0.95, 2);
I dont understand why there should be 2 as result. Because if the card is for free and a ticket cost 10 and on it he gets 0,95 discount, then the first ticket costs him 9,50 and the one without the card pays 10.