Write the unit tests for the Alarm class. The Alarm class is designed to monitor tire pressure and set an alarm if the pressure falls outside of the expected range. The Sensor class provided for the exercise fakes the behaviour of a real tire sensor, providing random but realistic values.
This exercise was originally designed by Luca Minudel and is included in his repo TDDwithMockObjectsAndDesignPrinciples