Closed leandrumartin closed 8 hours ago
Added tests for the servo motor's helper class. Run the tests with gradle test or ./gradlew test.
gradle test
./gradlew test
The tests check the following:
map
enable
disable
Added tests for the servo motor's helper class. Run the tests with
gradle test
or./gradlew test
.The tests check the following:
map
function appropriately computes the pulse width from the desired angle for the motorenable
anddisable
functions work