fixed some test failures

This commit is contained in:
Evan Kranzler 2020-06-07 14:57:56 -04:00
parent 65d2f3c9c4
commit 47ccb6d07b

View file

@ -32,7 +32,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
public void testCopySimpleCreature() { public void testCopySimpleCreature() {
addCard(Zone.BATTLEFIELD, playerA, "Lazav, Dimir Mastermind", 1); addCard(Zone.BATTLEFIELD, playerA, "Lazav, Dimir Mastermind", 1);
// Codex Shredder - Artifact // Codex Shredder - Artifact
// {T}: Target player puts the top card of their library into their graveyard. // {T}: Target player mills one card.
// {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand. // {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand.
addCard(Zone.BATTLEFIELD, playerA, "Codex Shredder", 1); addCard(Zone.BATTLEFIELD, playerA, "Codex Shredder", 1);
@ -40,7 +40,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
addCard(Zone.LIBRARY, playerB, "Assault Griffin",5); addCard(Zone.LIBRARY, playerB, "Assault Griffin",5);
skipInitShuffling(); skipInitShuffling();
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
setStopAt(1, PhaseStep.END_TURN); setStopAt(1, PhaseStep.END_TURN);
execute(); execute();
@ -67,7 +67,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
addCard(Zone.LIBRARY, playerB, "Ogre Slumlord",5); addCard(Zone.LIBRARY, playerB, "Ogre Slumlord",5);
skipInitShuffling(); skipInitShuffling();
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
setStopAt(1, PhaseStep.END_TURN); setStopAt(1, PhaseStep.END_TURN);
execute(); execute();
@ -103,7 +103,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
addCard(Zone.LIBRARY, playerB, "Nightveil Specter",1); addCard(Zone.LIBRARY, playerB, "Nightveil Specter",1);
skipInitShuffling(); skipInitShuffling();
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
attack(3, playerA, "Lazav, Dimir Mastermind"); attack(3, playerA, "Lazav, Dimir Mastermind");
@ -135,10 +135,10 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
skipInitShuffling(); skipInitShuffling();
// Lazav becomes a Nightveil Specter // Lazav becomes a Nightveil Specter
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
// Lazav becomes a Silvercoat Lion // Lazav becomes a Silvercoat Lion
activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
setStopAt(3, PhaseStep.END_TURN); setStopAt(3, PhaseStep.END_TURN);
execute(); execute();
@ -161,7 +161,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
addCard(Zone.HAND, playerA ,"Reanimate"); addCard(Zone.HAND, playerA ,"Reanimate");
addCard(Zone.BATTLEFIELD, playerA, "Lazav, Dimir Mastermind", 1); addCard(Zone.BATTLEFIELD, playerA, "Lazav, Dimir Mastermind", 1);
// Codex Shredder - Artifact // Codex Shredder - Artifact
// {T}: Target player puts the top card of their library into their graveyard. // {T}: Target player mills one card.
// {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand. // {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand.
addCard(Zone.BATTLEFIELD, playerA, "Codex Shredder", 1); addCard(Zone.BATTLEFIELD, playerA, "Codex Shredder", 1);
@ -173,7 +173,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
skipInitShuffling(); skipInitShuffling();
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerB, "Tribute to Hunger"); castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerB, "Tribute to Hunger");
@ -204,7 +204,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
public void testCopyCreatureExiled() { public void testCopyCreatureExiled() {
addCard(Zone.BATTLEFIELD, playerA, "Lazav, Dimir Mastermind", 1); addCard(Zone.BATTLEFIELD, playerA, "Lazav, Dimir Mastermind", 1);
// Codex Shredder - Artifact // Codex Shredder - Artifact
// {T}: Target player puts the top card of their library into their graveyard. // {T}: Target player mills one card.
// {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand. // {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand.
addCard(Zone.BATTLEFIELD, playerA, "Codex Shredder", 1); addCard(Zone.BATTLEFIELD, playerA, "Codex Shredder", 1);
@ -216,7 +216,7 @@ public class LazavDimirMastermindTest extends CardTestPlayerBase {
addCard(Zone.LIBRARY, playerB, "Assault Griffin",5); addCard(Zone.LIBRARY, playerB, "Assault Griffin",5);
skipInitShuffling(); skipInitShuffling();
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player puts the top card of their library into their graveyard.", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target player mills one card.", playerB);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rest in Peace"); castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rest in Peace");