Logo: Relish

  1. Sign in

Project: Bp

Serve coffee

In order to earn money
Customers should be able to
buy coffee at all times

Scenarios
Buy last coffee
Given
there are 1 coffees left in the machine
And
I have deposited 1 dollar
When
I press the coffee button
Then
I should be served a coffee
feeding a suckler cow
Given
the cow weighs weight kg
When
we calculate the feeding requirements
Then
the energy should be energy MJ
And
the protein should be protein kg
Examples:
weight energy protein
450 26500 215
500 29500 245
575 31500 255
600 37000 305

Last published over 3 years ago by Jorge Garzon.