Thermostat class implements basic functionality of a thermostat
Diff: thermostat.cpp
- Revision:
- 1:909cb1aef872
- Parent:
- 0:cd3a00aa2dbc
--- a/thermostat.cpp Thu Feb 13 08:07:46 2014 +0000 +++ b/thermostat.cpp Fri Feb 21 06:59:01 2014 +0000 @@ -120,4 +120,14 @@ if(this->heaterEnabled) return true; //defaults to false return false; +} + +void thermostat::ThermostatUnitTest(char *,int){ + int i; + float testTemperatureInput[32] = { ; + int expectedThermostatStatus[32] = { ;//Expected thermostat control loop status 1 for ON,0 for Off + + for(i=0;i++;i<31){ + + } } \ No newline at end of file