From 5fdfda00a90063d6ba6b4b07c6043efa3fb6de84 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 27 Dec 2022 10:40:09 +0100 Subject: Cleaning promotion --- tests/chessarbiter.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/chessarbiter.cpp') diff --git a/tests/chessarbiter.cpp b/tests/chessarbiter.cpp index 96b5f3b..2b6bdec 100644 --- a/tests/chessarbiter.cpp +++ b/tests/chessarbiter.cpp @@ -496,6 +496,10 @@ TEST_CASE("Specific bugs found on a game", "[BugFixes]") { CHECK(p == 'N'); p=a.ParseSANPromotion("d8=B+"); CHECK(p == 'B'); - p=a.ParseSANPromotion("d8=R"); + p=a.ParseSANPromotion("h1=R"); + CHECK(p == 'R'); + p=a.ParseSANPromotion("a1=R"); + CHECK(p == 'R'); + p=a.ParseSANPromotion("c1=R"); CHECK(p == 'R'); } \ No newline at end of file -- cgit v1.2.3