test: add unit tests for Blackjack and TicTacToe

- Add xUnit test projects for both games
- Implement game flow tests for Blackjack
- Implement game flow tests for TicTacToe
- Rename namespaces and projects to follow `Game.*` convention
- Add documentation for testing games
This commit is contained in:
2026-07-20 16:41:10 +08:00
parent 7946f4bafd
commit b4661e714e
38 changed files with 578 additions and 34 deletions
+7
View File
@@ -0,0 +1,7 @@
# Testing games
1. Games are dlls. Use a standalone test project to test a game.
2. Create baseline game snapshots in textual format.
3. Create baseline logs via the r3 observable api.
4. Read the snapshot/logs manually to identify issues.
5. Make sure serialization roundtrip works.