Hello -

I am looking to set up specific board positions to test an app. For example, I wanted a trivial test of queen promotion and so tried the board "7k/P7/8/8/8/8/8/K7". This gives a "Board is wrong!" error and I am not sure why it would be wrong.

You can see, below, how I set this up. (This is on a Mac OS X system, version 10.4.11, in Terminal.)

I see nothing in the FAQ about how the engine gets tested. I am sure it has occurred to others that this can be automatedly tested via scripts. Are the scripts or board setups that people have laying around? Is there a location where the testing is documented that I have not found yet? Any suggestions would be welcome.

cheers - ray



% cat /tmp/lastChess.epd
7k/P7/8/8/8/8/8/K7
%
% od -c /tmp/lastChess.epd
0000000    7   k   /   P   7   /   8   /   8   /   8   /   8   /   8   /
0000020    K   7  \n
0000023
%
% /usr/local/bin/gnuchess
GNU Chess 5.07
Adjusting HashSize to 1024 slots
Transposition table:  Entries=1K Size=40K
Pawn hash table: Entries=0K Size=28K
White (1) : epdload /tmp/lastChess.epd

white    a1
. . . . . . . k
P . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
K . . . . . . .

Board is wrong!
White (1) :


_______________________________________________
Bug-gnu-chess mailing list
Bug-gnu-chess@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-chess

Reply via email to