Skip to content

Unit test#3

Open
cpapplefamily wants to merge 6 commits intomainfrom
UnitTest
Open

Unit test#3
cpapplefamily wants to merge 6 commits intomainfrom
UnitTest

Conversation

@cpapplefamily
Copy link
Copy Markdown
Contributor

#2
I wrote and tested my first FRC UnitTest. This could be used as an example. What other Example should we add?

@cpapplefamily cpapplefamily requested review from a user, EthyMoney, ItsMajestiX and Nadezaxer June 17, 2022 22:35
@cpapplefamily
Copy link
Copy Markdown
Contributor Author

I added some Ideas for testing Is finished distance. I am finding difficulties finding a way to have both a simulated encoder and a Real encoder.

My current gut feeling is to try to test all public methods that return a value.

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

Successfully merging this pull request may close these issues.

1 participant