bugfix: pawn last rank captures weren't promotions during check evasion
This commit is contained in:
1 parent
5f77c88c85
commit
83b514b300
2 files changed
+32
-5
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ int main() {
|
||||
initSliderAttacks();
|
||||
|
||||
Board board;
|
||||
board.SetByFen("8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 0 1");
|
||||
Perft(board, 5);
|
||||
board.SetByFen("r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1");
|
||||
Perft(board, 4);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user