0.0
0 review
1.28 MB
Everyone
Content rating
0
Downloads
Bathtub_Test screenshot 1 Bathtub_Test screenshot 2 Bathtub_Test screenshot 3 Bathtub_Test screenshot 4

About this product

Bathtub_Test description

The Famous Bathtub_Test for Android Developers

****Input
===========
It is known that bath has a capacity of 150 litres to just below the overflow. This capacity allows a person to get in to the bath without water going down the overflow.
The cold water tap has a flow of 12 Litres per minute. at 10 degrees Celsius.
The hot water tap has a flow of 10 Litres per minute.
The temperature of the water is taken from the boiler web server which returns RESTful JSON. The test JSON is attached and should be run from a test web server http://localhost/bath.json.
Assumptions & Constraints
When either tap is on it is at full rate and constant temperature (There is no warm up time or reduced flow).


****Output
============
At any point in time the system should be able to show the capacity and temperature of the bath.
Assumptions & Constraints
The bath and your home are super-efficient and there is no cooling of the bath over time.


****Expected interface
============
It should be possible to turn on each tap individually via your touch screen. The interface should show the state of the bath at any time.

Bath.json:
{
"hot_water": 50,
"cold_water": 10
}

↓ Read more

Version lists