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
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