You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test sometimes fails because the game state may become WIN after the first click, but the test expects STARTED. We should also check other tests. Best to check is to run a test in repeat(1000) { ... }.
The text was updated successfully, but these errors were encountered:
One of the possible ways of fixing the test is to create GameState with a predefined grid, such that clicking on the cell always leads to STARTED. Plus we could also precisely verify the entire grid state.
And we can also add a separate test for the case when clicking on the cell first time makes the state WIN.
The test sometimes fails because the game state may become WIN after the first click, but the test expects STARTED. We should also check other tests. Best to check is to run a test in
repeat(1000) { ... }
.The text was updated successfully, but these errors were encountered: