CS3398-Tiger-Terrors / CS3398-Tiger-Terrors-S2017

Pool Boy App
1 stars 0 forks source link

As a developer, I would like to have finalized calculation subroutines #77

Closed CodySpradling closed 7 years ago

CodySpradling commented 7 years ago

Unit tests for salt subroutine: Unit Test: Positive current salt level, Positive target level output: Required salt to bring current level up to target level acc'd to industry standard. Unit Test: Current salt level over target level output: Message: Dilute pool water with X amount fresh water to bring down salt levels. Unit Test: Negative current level, any target level output: ERROR Message Unit Test: Positive current salt level, negative target level output: ERROR Message