mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
adjusted unit test phases
This commit is contained in:
parent
216ac3354c
commit
45c7d453b5
1 changed files with 4 additions and 3 deletions
|
|
@ -41,14 +41,15 @@ public class DidNotHaveHexproofTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerB, wOrb);
|
addCard(Zone.BATTLEFIELD, playerB, wOrb);
|
||||||
|
|
||||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{1}");
|
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{1}");
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Shock", playerB);
|
castSpell(1, PhaseStep.BEGIN_COMBAT, playerA, "Shock", playerB);
|
||||||
|
|
||||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
setStopAt(1, PhaseStep.END_COMBAT);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
assertTappedCount("Mountain", true, 2);
|
assertTappedCount("Mountain", true, 2);
|
||||||
assertTapped(dTower, true);
|
assertTapped(dTower, true);
|
||||||
assertGraveyardCount(playerA, "Shock", 1);
|
assertGraveyardCount(playerA, "Shock", 1);
|
||||||
assertLife(playerB, 18);
|
assertLife(playerB, 18);
|
||||||
|
assertAllCommandsUsed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue