mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
refactor: new way to check if a move is from the bottom of the deck
This commit is contained in:
parent
3641fb8b0d
commit
acb11c881b
5 changed files with 21 additions and 13 deletions
|
|
@ -57,7 +57,7 @@ TEST(ReverseCardMoveTest, MoveCardFromBottomTest)
|
|||
QList<const CardToMove *> cardsToMove = {&moveA, &moveB, &moveC, &moveD};
|
||||
GameEventStorage ges;
|
||||
|
||||
const auto response = player.moveCard(ges, &deckZone, cardsToMove, &exileZone, 0, 0, false, false, false, true);
|
||||
const auto response = player.moveCard(ges, &deckZone, cardsToMove, &exileZone, 0, 0, false, false, false);
|
||||
|
||||
EXPECT_EQ(response, Response::RespOk);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue