mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
add strictChoiceMode and allCommandsUsed
This commit is contained in:
parent
7155977cd2
commit
d2005be8c2
1 changed files with 8 additions and 6 deletions
|
@ -34,16 +34,17 @@ public class AetherGustTest extends CardTestPlayerBase {
|
|||
addCard(Zone.HAND, playerA, aetherGust);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, barkhide);
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, aetherGust);
|
||||
setChoice(playerA, barkhide);
|
||||
setChoice(playerA, "Top");
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, aetherGust, barkhide);
|
||||
setChoice(playerA, "Yes");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
setStrictChooseMode(true);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerA, aetherGust, 1);
|
||||
assertPermanentCount(playerA, barkhide, 0);
|
||||
assertLibraryCount(playerA, 1);
|
||||
assertAllCommandsUsed();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -57,16 +58,17 @@ public class AetherGustTest extends CardTestPlayerBase {
|
|||
addCard(Zone.HAND, playerA, aetherGust);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, barkhide);
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, aetherGust);
|
||||
setChoice(playerA, barkhide);
|
||||
setChoice(playerA, "Top");
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, aetherGust, barkhide);
|
||||
setChoice(playerA, "Yes");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
setStrictChooseMode(true);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerA, aetherGust, 1);
|
||||
assertPermanentCount(playerA, barkhide, 0);
|
||||
assertLibraryCount(playerA, 1);
|
||||
assertAllCommandsUsed();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue