diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-16 20:22:42 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-16 20:23:08 +0100 |
| commit | 640d882099af0f7c13dc5e102943bb06c2df5400 (patch) | |
| tree | 5e65b3e0e3ad434ad130222c855d88e48fc44610 /tests | |
| parent | 0584edb107467a294f17a50d063e667f22f4a47b (diff) | |
Cleaning arbiter:
- Add backup macros
- User can fetch last captured piece
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/chessarbiter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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'); } |
