mirror of
https://gitlab.com/manzerbredes/chessarbiter.git
synced 2025-04-19 03:59:42 +00:00
Cleaning arbiter:
- Add backup macros - User can fetch last captured piece
This commit is contained in:
parent
0584edb107
commit
640d882099
3 changed files with 33 additions and 16 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue