To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorBanknotes are dispensed in a smart way
- Scenarios
-
- Single banknote matches amount
-
- Given
-
Atm has banknotes:
value count $100 1 $100 1 $100 1 - When
- $100.30 is to be dispensed
- Then
-
following banknotes are dispensed:
value count $100 1
- Two banknotes match amount
-
- Given
-
Atm has banknotes:
value count $50 2 - When
- $100 is to be dispensed
- Then
-
following banknotes are dispensed:
value count $50 2
- Dispensing Banknotes
-
- Given
- Atm has bankotes: bankotes
- When
- amount is to be dispensed
- Then
- Following bankotes dispensed
Examples: bankotes amount dispensed 50,50 100 50,50 20,10,50,20 50 50
Last published about 7 years ago by pragmatists.