Logo: Relish

  1. Sign in

Project: Vending-machine 0.1

  • Change version

    1. 0.1

Giving change

  • @UC_123

In order keep put what's mine back in my pocket
As a thirsty bastard
I want to get change after buying a drink

Background
Given
A machine
Scenarios
Given
The machine has the following choices
brand price
cola 100
When
I enter '2' euro
Then
the machine says 'make your choice'
When
I choose 'cola'
Then
the machine delivers a can of 'cola' to the output tray
And
the machine delivers a '1' euro to the output tray

Last published over 5 years ago by westghost.