From e93ddffa4ab47f7e1f710a9d7e78ca831b2df78a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 10 May 2023 06:55:12 +0200 Subject: Cleaning and debug code --- tests/chessarbiter.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3