-
Notifications
You must be signed in to change notification settings - Fork 3
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
Write test cases for game loop #105
Comments
As part of this issue, should set up a "debug" mode of interaction. This would run through a specified test game and send moves to board exclusively through CLI. This would let us validate
|
When debug mode of interaction can be specified with an optional We can also have a It might end up being cleaner to create a new |
Hardware tests:
|
I was thinking about it, and I think that there needs to be a hardware option for both I think we should do it this way because the behavior for running cases for either scenario are different. The software version is based on cases that get processed by the engine and everything, whereas the hardware version is based on directly sending commands to the arduino, bypassing the chess engine. |
The Arduino tests should validate that if the end stops are hit, the movement stops. |
Should have test cases that allow verifying all functionality in game loop. These test cases can be extended to serve as test cases for the physical hardware once we have the hardware in place. Examples of things to validate:
This issue should be kept up to date and remain open until all existing functionality of the game loop has test cases. Then all future game loop stuff should include test cases to validate the new functionality.
The text was updated successfully, but these errors were encountered: