Resources
Reference
Implement unit testing for the optimalSensor class
optimalSensor.tests
Runs the unit tests. If successful, exits silently. Otherwise, throws an error at the first failed test.