mirror of
https://github.com/magefree/mage.git
synced 2026-01-17 17:06:45 -08:00
Fixed riot tests
This commit is contained in:
parent
cfca1e4948
commit
f566f3af71
1 changed files with 8 additions and 4 deletions
|
|
@ -31,11 +31,12 @@ public class RiotTest extends CardTestPlayerBase {
|
|||
addCard(Zone.HAND, playerA, "Rampaging Rendhorn", 1); // Creature {4}{G}
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rampaging Rendhorn");
|
||||
setChoice(playerA, "+1/+1 counter");
|
||||
setChoice(playerA, "Yes"); // yes - counter
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertPermanentCount(playerA, "Rampaging Rendhorn", 1);
|
||||
assertPowerToughness(playerA, "Rampaging Rendhorn", 5, 5);
|
||||
|
|
@ -51,11 +52,12 @@ public class RiotTest extends CardTestPlayerBase {
|
|||
addCard(Zone.HAND, playerA, "Rampaging Rendhorn", 1); // Creature {4}{G}
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rampaging Rendhorn");
|
||||
setChoice(playerA, "Haste");
|
||||
setChoice(playerA, "No"); // no - haste
|
||||
|
||||
setStopAt(2, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertPermanentCount(playerA, "Rampaging Rendhorn", 1);
|
||||
assertPowerToughness(playerA, "Rampaging Rendhorn", 4, 4);
|
||||
|
|
@ -74,11 +76,12 @@ public class RiotTest extends CardTestPlayerBase {
|
|||
addCard(Zone.HAND, playerA, "Silvercoat Lion", 1); // Creature {1}{W} 2/2
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Silvercoat Lion");
|
||||
setChoice(playerA, "+1/+1 counter");
|
||||
setChoice(playerA, "Yes"); // yes - counter
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertPermanentCount(playerA, "Silvercoat Lion", 1);
|
||||
assertPowerToughness(playerA, "Silvercoat Lion", 3, 3);
|
||||
|
|
@ -98,11 +101,12 @@ public class RiotTest extends CardTestPlayerBase {
|
|||
addCard(Zone.HAND, playerA, "Silvercoat Lion", 1); // Creature {1}{W} 2/2
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Silvercoat Lion");
|
||||
setChoice(playerA, "Haste");
|
||||
setChoice(playerA, "No"); // no - haste
|
||||
|
||||
setStopAt(2, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertPermanentCount(playerA, "Silvercoat Lion", 1);
|
||||
assertPowerToughness(playerA, "Silvercoat Lion", 2, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue