diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-27 10:40:09 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-27 10:40:09 +0100 |
| commit | 5fdfda00a90063d6ba6b4b07c6043efa3fb6de84 (patch) | |
| tree | 2fac3d643819bdbc7ce3fa86e250fa73d89dbb25 /tests | |
| parent | bb5d85cb65247280db97a686ad27d52a6806dabf (diff) | |
Cleaning promotion
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/chessarbiter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
