forked from External/mage
Fixed two tests.
This commit is contained in:
parent
73a41aef4a
commit
3446953a9d
2 changed files with 14 additions and 7 deletions
|
|
@ -42,12 +42,12 @@ import org.mage.test.serverside.base.CardTestPlayerBase;
|
|||
public class ArtisanOfFormsTest extends CardTestPlayerBase {
|
||||
|
||||
/**
|
||||
* Targeting a Artisan of Forms triggers it Heroic ability. So it can copy a traget creature.
|
||||
* Targeting a Artisan of Forms triggers it Heroic ability. So it can copy a target creature.
|
||||
* If Cackling Counterpart later resolves, it should copy the creature that Artisan of Forms copies, not
|
||||
* the Artisan itself.
|
||||
*/
|
||||
@Test
|
||||
public void testCopyTrggeredByCracklingCounterpart() {
|
||||
public void testCopyTriggeredByCracklingCounterpart() {
|
||||
// Heroic - Whenever you cast a spell that targets Artisan of Forms, you may have Artisan of Forms become a copy of target creature and gain this ability.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Artisan of Forms");
|
||||
// {1}{U}{U} Put a token onto the battlefield that's a copy of target creature you control.
|
||||
|
|
@ -84,8 +84,9 @@ public class ArtisanOfFormsTest extends CardTestPlayerBase {
|
|||
* the Artisan itself.
|
||||
*/
|
||||
@Test
|
||||
public void testCopyTrggeredByPopulate() {
|
||||
// Heroic - Whenever you cast a spell that targets Artisan of Forms, you may have Artisan of Forms become a copy of target creature and gain this ability.
|
||||
public void testCopyTriggeredByPopulate() {
|
||||
// Heroic - Whenever you cast a spell that targets Artisan of Forms, you may have
|
||||
// Artisan of Forms become a copy of target creature and gain this ability.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Artisan of Forms");
|
||||
// {1}{U}{U} Put a token onto the battlefield that's a copy of target creature you control.
|
||||
addCard(Zone.HAND, playerA, "Cackling Counterpart");
|
||||
|
|
@ -96,9 +97,9 @@ public class ArtisanOfFormsTest extends CardTestPlayerBase {
|
|||
addCard(Zone.BATTLEFIELD, playerB, "Silvercoat Lion", 1);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cackling Counterpart", "Artisan of Forms");
|
||||
setChoice(playerA, "Silvercoat Lion");
|
||||
addTarget(playerA, "Silvercoat Lion");
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Eyes in the Skies");
|
||||
setChoice(playerA, "Silvercoat Lion");
|
||||
addTarget(playerA, "Silvercoat Lion");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
|
|
|||
|
|
@ -29,8 +29,14 @@ public class WerewolfRansackerTest extends CardTestPlayerBase {
|
|||
@Test
|
||||
public void testCard1() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 3);
|
||||
// When Blade Splicer enters the battlefield, put a 3/3 colorless Golem artifact creature token onto the battlefield.
|
||||
// Golem creatures you control have first strike.
|
||||
addCard(Zone.HAND, playerA, "Blade Splicer");
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 4);
|
||||
// At the beginning of each upkeep, if no spells were cast last turn, transform Afflicted Deserter.
|
||||
// Werewolf Ransacker
|
||||
// Whenever this creature transforms into Werewolf Ransacker, you may destroy target artifact. If that artifact is put into a graveyard this way, Werewolf Ransacker deals 3 damage to that artifact's controller.
|
||||
// At the beginning of each upkeep, if a player cast two or more spells last turn, transform Werewolf Ransacker.
|
||||
addCard(Zone.HAND, playerB, "Afflicted Deserter");
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Blade Splicer");
|
||||
|
|
@ -38,7 +44,7 @@ public class WerewolfRansackerTest extends CardTestPlayerBase {
|
|||
setStopAt(4, PhaseStep.DRAW);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerA, 17);
|
||||
assertLife(playerB, 20);
|
||||
assertPermanentCount(playerB, "Afflicted Deserter", 0);
|
||||
assertPermanentCount(playerB, "Werewolf Ransacker", 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue