From 640d882099af0f7c13dc5e102943bb06c2df5400 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 16 Feb 2022 20:22:42 +0100 Subject: Cleaning arbiter: - Add backup macros - User can fetch last captured piece --- tests/chessarbiter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/chessarbiter.cpp b/tests/chessarbiter.cpp index 475816e..48e58fa 100644 --- a/tests/chessarbiter.cpp +++ b/tests/chessarbiter.cpp @@ -367,4 +367,5 @@ TEST_CASE("SimpleCapture", "[SimplePieceCapture]") { a.Play("e4d5"); CHECK(a.GetFEN() == "rnbqkbnr/ppp1pppp/8/3P4/8/8/PPPP1PPP/RNBQKBNR b KQkq - 0 2"); + CHECK(a.GetCapture()=='p'); } -- cgit v1.2.3