Cleaning and debug code

This commit is contained in:
Loic Guegan 2023-05-10 06:55:12 +02:00
parent 987bf4b2f2
commit e93ddffa4a
6 changed files with 11 additions and 8 deletions

View file

@ -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"));
}