bsamseth / Goldfish

Goldfish - Stockfish's very distant and not so bright cousin - a UCI chess engine
MIT License
6 stars 2 forks source link

Add tests of search logic #26

Closed bsamseth closed 5 years ago

bsamseth commented 5 years ago

At the moment, the entire search logic is outside the test suite. This is no good and has possibly allowed the bugs seen in #25 to sneak in.

The current idea is to have some tests written in Python, using python-chess to communicate with Goldfish and add assertions to the parsed output for some selected positions.

Most importantly, it should be verified that search correctly identifies short mating sequences, and does not behave as in #25.

bsamseth commented 5 years ago

Closed by #27.