Not logged inRybka Chess Community Forum
Up Topic The Rybka Lounge / Test Positions / PERFT testsuites (might be lacking totality)
- By ChrisW (**) Date 2018-03-21 16:58
Found a move generation bug which got past the my battery of PERFT test suites, of which I have quite a few.
So, this is a suggestion of generating some suitable catch positions by those who do this sort of thing.

Case: check evasion code. of course if there's a double check, then interposes and non-king captures of the checking piece are not valid moves. That's not a problem. But, somehow the case where the two checking pieces were the same type arose. Two queens. Should be impossible, because how can one queen move to give check and reveal a check at the same time? The moving queen would have been checking in the first place, and that would be an impossible position. However, situation arose, but not in any of my PERFTs. Bug!
Up Topic The Rybka Lounge / Test Positions / PERFT testsuites (might be lacking totality)

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill