Consider the class Thermostat included in this folder and
- Develop the test cases to satisfy the PC for the Thermostatclass and implement them in JUnit.
- Develop the test cases to satisfy the CC for the Thermostatclass and implement them in JUnit.
- Develop the test cases to satisfy the CACC for the Thermostatclass and implement them in JUnit
Thermostat.java:
import java.io.*;import java.util.*;// Programmable Thermostatpublic class Thermostat{ private int curTemp; // current temperature reading private int thresholdDiff; // temp difference until we turn heater on private int timeSinceLastRun; //
OR
OR