mirror of
https://gitlab.com/manzerbredes/chessarbiter.git
synced 2025-05-21 14:57:40 +00:00
Cleaning and debug code
This commit is contained in:
parent
987bf4b2f2
commit
e93ddffa4a
6 changed files with 11 additions and 8 deletions
|
@ -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"));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue