From 3812a74cda452afd7e7c1f99f417fde87d233308 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 24 Feb 2022 20:40:17 +0100 Subject: Debug SAN move parser --- tests/chessarbiter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/chessarbiter.cpp') diff --git a/tests/chessarbiter.cpp b/tests/chessarbiter.cpp index 868ea2c..a6a3241 100644 --- a/tests/chessarbiter.cpp +++ b/tests/chessarbiter.cpp @@ -453,4 +453,7 @@ TEST_CASE("ParseSAN", "[ParseSAN]") { a.Setup("rnbqkbnr/pp3ppp/4p3/2pp4/3PP3/8/PPPN1PPP/R1BQKBNR w KQkq - 0 4"); CHECK(a.ParseSAN("exd5") == "e4d5"); + + a.Setup("1r4k1/4pp1p/6pb/1p3b2/P1P5/5P2/2P3PP/1K1R3R w - - 0 23"); + CHECK(a.ParseSAN("cxb5") == "c4b5"); } -- cgit v1.2.3