Testing move generation

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

Testing move generation

Postby Eli Bendersky » 26 Feb 2004, 14:22

Geschrieben von: / Posted by: Eli Bendersky at 26 February 2004 14:22:49:

Hi all,
I'd like to test my engine's move generation functions. For this purposes, I made a test suite of an input file that contains FEN boards + legal moves for them and the test routine verifies the move generator against the expected results.
Is there a DB of such tests available somewhere, or can I use some free and proven-correct program to generate them?
Thanks
Eli Bendersky
 

Re: Testing move generation

Postby Andreas Herrmann » 26 Feb 2004, 17:29

Geschrieben von: / Posted by: Andreas Herrmann at 26 February 2004 17:29:59:
Als Antwort auf: / In reply to: Testing move generation geschrieben von: / posted by: Eli Bendersky at 26 February 2004 14:22:49:
Hi all,
I'd like to test my engine's move generation functions. For this purposes, I made a test suite of an input file that contains FEN boards + legal moves for them and the test routine verifies the move generator against the expected results.
Is there a DB of such tests available somewhere, or can I use some free and proven-correct program to generate them?
Thanks
Hi,
a good possibility to test the move generator, is to implement perft. See the following link: http://homepages.caverock.net.nz/~peter/perft.htm
regards
Andreas
Andreas Herrmann
 


Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: No registered users and 32 guests