mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Updated test for #6760
This commit is contained in:
parent
bd4da56647
commit
1532daf9c4
2 changed files with 23 additions and 24 deletions
|
@ -114,39 +114,38 @@ public class PlayFromNonHandZoneTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testNarsetEnlightenedMasterAdditionalCost() {
|
public void testNarsetEnlightenedMasterAdditionalCost() {
|
||||||
|
skipInitShuffling();
|
||||||
|
removeAllCardsFromLibrary(playerA);
|
||||||
|
|
||||||
// First strike
|
// First strike
|
||||||
// Hexproof
|
// Hexproof
|
||||||
// Whenever Narset, Enlightented Master attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with Narset this turn without paying their mana costs.
|
// Whenever Narset, Enlightented Master attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with Narset this turn without paying their mana costs.
|
||||||
skipInitShuffling();
|
addCard(Zone.BATTLEFIELD, playerA, "Narset, Enlightened Master", 1);
|
||||||
|
//
|
||||||
|
// {1}{R}
|
||||||
|
// As an additional cost to cast this spell, discard two cards.
|
||||||
|
addCard(Zone.LIBRARY, playerA, "Swamp", 3); // 3 cards for draw effect
|
||||||
|
addCard(Zone.LIBRARY, playerA, "Cathartic Reunion", 1); // exile from lib
|
||||||
|
addCard(Zone.LIBRARY, playerA, "Plains", 3); // exile from lib
|
||||||
|
addCard(Zone.HAND, playerA, "Swamp", 1);
|
||||||
|
addCard(Zone.HAND, playerA, "Forest", 1);
|
||||||
|
|
||||||
addCard(Zone.BATTLEFIELD, playerB, "Narset, Enlightened Master", 1);
|
attack(1, playerA, "Narset, Enlightened Master");
|
||||||
addCard(Zone.HAND, playerB, "Swamp");
|
|
||||||
addCard(Zone.LIBRARY, playerB, "Plains");
|
|
||||||
addCard(Zone.LIBRARY, playerB, "Plains");
|
|
||||||
addCard(Zone.LIBRARY, playerB, "Plains");
|
|
||||||
addCard(Zone.LIBRARY, playerB, "Cathartic Reunion");
|
|
||||||
addCard(Zone.LIBRARY, playerB, "Forest");
|
|
||||||
|
|
||||||
attack(2, playerB, "Narset, Enlightened Master");
|
// can play for 2 discard
|
||||||
|
checkPlayableAbility("must play", 1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Cast Cathartic Reunion", true);
|
||||||
checkPlayableAbility("must play", 2, PhaseStep.POSTCOMBAT_MAIN, playerB, "Cast Cathartic Reunion", true);
|
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Cathartic Reunion");
|
||||||
castSpell(2, PhaseStep.POSTCOMBAT_MAIN, playerB, "Cathartic Reunion");
|
setChoice(playerA, "Swamp^Forest");
|
||||||
setChoice(playerB, "Swamp^Forest");
|
waitStackResolved(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||||
|
|
||||||
setStrictChooseMode(true);
|
setStrictChooseMode(true);
|
||||||
setStopAt(2, PhaseStep.END_TURN);
|
setStopAt(2, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
assertAllCommandsUsed();
|
assertAllCommandsUsed();
|
||||||
|
|
||||||
|
assertGraveyardCount(playerA, "Swamp", 1);
|
||||||
assertHandCount(playerB, 3);
|
assertGraveyardCount(playerA, "Forest", 1);
|
||||||
assertGraveyardCount(playerB, "Forest", 1);
|
assertGraveyardCount(playerA, "Cathartic Reunion", 1);
|
||||||
assertGraveyardCount(playerB, "Swamp", 1);
|
|
||||||
assertGraveyardCount(playerB, "Cathartic Reunion", 1);
|
|
||||||
assertGraveyardCount(playerB, 3);
|
|
||||||
assertExileCount(playerB, "Plains", 3);
|
|
||||||
assertExileCount(playerB, 3);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -151,8 +151,8 @@ public class BolassCitadelTest extends CardTestPlayerBase {
|
||||||
checkPlayableAbility("B can't use bolas on 2", 2, PhaseStep.PRECOMBAT_MAIN, playerB, "Cast Grizzly Bears", false);
|
checkPlayableAbility("B can't use bolas on 2", 2, PhaseStep.PRECOMBAT_MAIN, playerB, "Cast Grizzly Bears", false);
|
||||||
|
|
||||||
// 3 turn
|
// 3 turn
|
||||||
checkPlayableAbility("A can use bolas on 1", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cast Balduvian Bears", true);
|
checkPlayableAbility("A can use bolas on 3", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cast Balduvian Bears", true);
|
||||||
checkPlayableAbility("B cant use bolas on 1", 1, PhaseStep.PRECOMBAT_MAIN, playerB, "Cast Grizzly Bears", false);
|
checkPlayableAbility("B cant use bolas on 3", 1, PhaseStep.PRECOMBAT_MAIN, playerB, "Cast Grizzly Bears", false);
|
||||||
|
|
||||||
setStrictChooseMode(true);
|
setStrictChooseMode(true);
|
||||||
setStopAt(3, PhaseStep.END_TURN);
|
setStopAt(3, PhaseStep.END_TURN);
|
||||||
|
|
Loading…
Reference in a new issue