diff options
Diffstat (limited to 'tests/chessarbiter.cpp')
| -rw-r--r-- | tests/chessarbiter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/chessarbiter.cpp b/tests/chessarbiter.cpp index 1c013cc..0a49e22 100644 --- a/tests/chessarbiter.cpp +++ b/tests/chessarbiter.cpp @@ -529,4 +529,8 @@ TEST_CASE("Specific bugs found on a game", "[BugFixes]") { a.Setup("rnb1k1nr/pppp1ppp/4P3/8/1b3B2/1Nq5/PPP1PPPP/R2KNB1R b kq - 16 12"); a.Play("c3e1"); CHECK(a.GetSAN()=="Qxe1#"); + + // Bug 8 Not a bug but just check if bishop cannot jump above pieces + a.Setup("rnbqkbnr/p1pp1ppp/8/1p2p3/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 1"); + CHECK(!a.Play("f1a6")); }
\ No newline at end of file |
