Permalink
Browse files

Add missing fens to perft test.

  • Loading branch information...
1 parent c08c42c commit 33e361c23535356b812a4046b16acff6421e0027 @lorenzo-stoakes committed Aug 28, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/perft_test.c
View
7 tests/perft_test.c
@@ -30,6 +30,13 @@
#endif
#define PERFT_COUNT 5
+
+#define FEN1 "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
+#define FEN2 "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -"
+#define FEN3 "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -"
+#define FEN4 "r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1"
+#define FEN4_REVERSED "r2q1rk1/pP1p2pp/Q4n2/bbp1p3/Np6/1B3NBn/pPPP1PPP/R3K2R b KQ - 0 1"
+
static char *fens[PERFT_COUNT] = { FEN1, FEN2, FEN3, FEN4, FEN4_REVERSED };
static int expectedDepthCounts[PERFT_COUNT] = { 6, 5, 7, 6, 6 };

0 comments on commit 33e361c

Please sign in to comment.