Cleaning arbiter:

- Add backup macros
  - User can fetch last captured piece
This commit is contained in:
Loic Guegan 2022-02-16 20:22:42 +01:00
parent 0584edb107
commit 640d882099
3 changed files with 33 additions and 16 deletions

View file

@ -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');
}