chesslablab / php-chess

A chess library for PHP offering move validation, common formats, multiple variants, UCI engine support, explanation of chess positions, and image recognition.
https://chesslablab.github.io/php-chess/
MIT License
110 stars 52 forks source link

TDD the Chess\Eval\CheckmateInOneEval class #551

Closed programarivm closed 5 months ago

programarivm commented 5 months ago

A new evaluation feature called Chess\Eval\CheckmateInOneEval needs to be implemented in the php-chess/src/Eval folder. The PHPUnit tests are to be written in the php-chess/tests/unit/Eval/CheckmateInOneEvalTest.php file accordingly.