diff --git a/src/position.h b/src/position.h index e8d3cac..cb15ec5 100644 --- a/src/position.h +++ b/src/position.h @@ -144,7 +144,7 @@ extern bitboard_t pos_pinners(const pos_t *pos, const color_t color); //extern char *pos_checkers2str(const pos_t *pos, char *str); //extern char *pos_pinners2str(const pos_t *pos, char *str); -extern int pos_check(const pos_t *pos, const int strict); +extern int pos_check(const pos_t *pos, const bool strict); extern void pos_print(const pos_t *pos); extern void pos_print_mask(const pos_t *pos, const bitboard_t mask); diff --git a/test/common-test.h b/test/common-test.h index 6b8cb3a..9ffa8c2 100644 --- a/test/common-test.h +++ b/test/common-test.h @@ -61,10 +61,6 @@ struct fentest { "checkers: g2 g7", "8/6R1/8/6k1/8/8/K5R1/8 b - - 1 1" }, - { ATTACK, - "checkers: d5 e3, pinners: a1 h1 a4 h5", - "3k4/8/8/3r3b/b7/1N2n3/4B3/rN1K1R1r w - - 1 0" - }, { ATTACK, "checkers: d5 e3, pinners: none (2 pieces between attacker & K)", "3k4/8/8/3r3b/b7/1N2nn2/2n1B3/rNBK1Rbr w - - 1 1" diff --git a/test/movegen-test.c b/test/movegen-test.c index f2d422d..9b65b51 100644 --- a/test/movegen-test.c +++ b/test/movegen-test.c @@ -207,7 +207,6 @@ int main(int __unused ac, __unused char**av) continue; } pos_print(pos); - /* print movelists */ send_stockfish_fen(outfd, fishpos, fen); gen_all_pseudomoves(pos);