Closed mcepl closed 4 years ago
Ah yes. This refers to these tests: http://p4wn.sourceforge.net/src/auto-test.html
It has been failing forever, and I forgot about it, so thanks for the report.
What these tests do is compare known the number of states reachable at a specified depth from a particular board state with a number known to be correct (known as perft testing https://chessprogramming.wikispaces.com/Perft).
I don't think I came up with a conclusive theory as to why they were failing, or whether the fault was with the testing framework rather than the engine. But some possibilities are:
e8=Q
to be the same move as e8=N
, while p4wn might consider them separately.Fixed in ca70926f4e541a3715e7dc09450b912543178373.
The problem was in the counting, not in the actual move discovery, so this didn't affect real games.
Trying on Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 and two tests fail