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

Test modulo function behavior, rewrite if necessary #3

Open
proan opened this issue Oct 15, 2019 · 0 comments
Open

Test modulo function behavior, rewrite if necessary #3

proan opened this issue Oct 15, 2019 · 0 comments

Comments

@proan
Copy link

proan commented Oct 15, 2019

The postiveMod() function [https://github.com/grt192/GRT2020Preseason/blob/develop/src/main/java/frc/util/GRTUtil.java#L15] looks like it might have errors.

To check if the behavior is correct, please construct some test cases, where you know the inputs and what the output should be, then try those inputs and see if the outputs match.

If there results do not match, please rewrite the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant