Improve argument checking for classes in corelib/src/main/java/com/ftc9929/corelib/control/
Opened this issue · 0 comments
markdmatthews commented
The classes in corelib/src/main/java/com/ftc9929/corelib/control/ don't always have complete (or any!?) argument checking for correctness/presence. Add @nonnull where appropriate. Check for valid values, as an example, the scaled range input doesn't check that the exponential factor is odd. If it's not odd, the behavior will be incorrect.
You will also need to add tests to demonstrate that these argument checks are in place, and operating correctly.