sensor-loop reading safe temperature swill not trigger the alarm.
sensor-loop Reading unsafe temperatures will be logged.
sensor-loop Reading unsafe temperatures will be logged and sound the alarm.
update-exceeded-times nil checks
update-exceeded-times type checks
update-exceeded given sensor readings with no previous times
update-exceeded given sensor readings with previous times
udpate-exceeded given sensor readings with some previous times removed
get-exceeded-durations nil and type checks
get-exceeded-durations added a timestamp argument
get-exceeded-durations filters durations properly
Documenation for create-queue-sensor
Created test double for the Timestamp protocol
sensor-loop Reading unsafe temperatures over the duration will be logged and sound the alarm.
Removed unused :duration key from monitor map
Reading unsafe temperatures over the duration will be logged and sound the alarm but not be triggered again if two sensors haven't been active for > 2 seconds."
Reading unsafe temperatures over the duration will be logged and sound the alarm multiple times if longer than a second.
Argument checks for the Sensor and Timestamp test doubles
Cleaned up -main so it triggers an alarm as an example