Skip to content

Commit 43bc464

Browse files
author
miskibin
committed
docs: Add testing section to README with comprehensive test suite details
- Introduced a new section in the README outlining the testing framework and comprehensive test suite with over 260 tests. - Detailed the types of tests included, such as move generation, real game replays, edge cases, and engine correctness for all variants. - Enhanced documentation to improve clarity on testing procedures and coverage.
1 parent f388345 commit 43bc464

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

readme.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,21 @@ Engine search at various depths:
298298

299299
<img src="docs/source/_static/engine_benchmark.png" alt="Engine Benchmark" width="600">
300300

301+
## Testing
302+
303+
Comprehensive test suite with 260+ tests covering all variants and edge cases:
304+
305+
```bash
306+
pytest test/ -v
307+
```
308+
309+
Tests include:
310+
- **Move generation** - Push/pop roundtrips, legal move validation
311+
- **Real game replays** - PDN games from Lidraughts for all variants
312+
- **Edge cases** - Complex king captures, promotion mid-capture, draw rules
313+
- **Engine correctness** - Hash stability, transposition tables, board immutability
314+
- **All 4 variants** - Standard, American, Frisian, Russian
315+
301316
## Contributing
302317

303318
Contributions welcome! Please open an issue or submit a pull request.

0 commit comments

Comments
 (0)