Report for lv.id.jc.machine.unit.StorageUnitAllocateResourcesSpec


Summary:

Created on Tue Nov 15 13:34:41 UTC 2022 by runner
Executed features Passed Failures Errors Skipped Success rate Time
1 1 0 0 0 100.0% 0.030 seconds
The storage device allocates resources to prepare a coffee drink
As a control unit
I want to receive the necessary resources from the storage unit
So that I will be able to prepare the desired coffee drink

Features:

should allocate the necessary resources for making coffee Return
(0.016 seconds)
Given:
a storage unit with enough of all the necessary resources
When:
we are requesting resource allocation for a coffee drink
Then:
the request executes normally without any exceptions.
And:
the amount of resources in the storage unit is reduced accordingly
Where:
resources in storage device and desired coffee drink
Examples:
water milk beans cups beverage
250 0 16 1 Espresso OK (0.006 seconds)
3750 2400 98 17 Espresso OK (0)
5000 4000 90 55 Espresso OK (0)
3000 2500 20 9 Latte OK (0.008 seconds)
355 75 20 5 Latte OK (0.002 seconds)
350 75 20 1 Latte OK (0)
360 76 21 2 Latte OK (0)
200 100 12 1 Cappuccino OK (0)
8000 6800 450 120 Cappuccino OK (0)
9/9 passed