Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Tests #118

Open
danielbrownmsm opened this issue Nov 2, 2020 · 0 comments
Open

Unit Tests #118

danielbrownmsm opened this issue Nov 2, 2020 · 0 comments
Labels
enhancement New feature or request low priority Low priority tasks testing Making sure stuff works

Comments

@danielbrownmsm
Copy link
Contributor

Unit Tests.

Unit Tests. (unit tests). Unit unit tests tests

Might be possible to do by making separate constructors for functions. One accepts normal types (ex CANSparkMax) and one that accepts Rocket Types (TM). Rocket Types implement everything the normal types do (well, almost everything. Only the stuff we use) but instead of returning real-life values, they return Preset Values (R) and can be written to (ex motor.set(1)) As Usual (R). We can decide which to use by reading something from Constants.java (or elsewhere) and having an if/else in RobotContainer.

@danielbrownmsm danielbrownmsm added enhancement New feature or request low priority Low priority tasks testing Making sure stuff works labels Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Low priority tasks testing Making sure stuff works
Projects
None yet
Development

No branches or pull requests

1 participant