diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-10 06:55:12 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-10 06:55:12 +0200 |
| commit | e93ddffa4ab47f7e1f710a9d7e78ca831b2df78a (patch) | |
| tree | 35153f5acb7edddf97febbf8b8896d9774f5f15f /tests/chessarbiter.cpp | |
| parent | 987bf4b2f2e9cf3ed20c5e39e308e714c0127fc6 (diff) | |
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 |
