mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed test failures
This commit is contained in:
parent
f5d2befc57
commit
a7e57b8352
8 changed files with 21 additions and 21 deletions
|
@ -42,7 +42,7 @@ class ProfaneTransfusionEffect extends OneShotEffect {
|
|||
|
||||
ProfaneTransfusionEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "You create an X/X colorless Horror artifact creature token, " +
|
||||
staticText = "You create an X/X colorless Phyrexian Horror artifact creature token, " +
|
||||
"where X is the difference between those players' life totals";
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public class BatterskullTest extends CardTestPlayerBase {
|
|||
|
||||
assertHandCount(playerA, 0);
|
||||
assertPermanentCount(playerA, "Batterskull", 1);
|
||||
assertPermanentCount(playerA, "Germ", 1);
|
||||
assertPowerToughness(playerA, "Germ", 4, 4);
|
||||
assertPermanentCount(playerA, "Phyrexian Germ", 1);
|
||||
assertPowerToughness(playerA, "Phyrexian Germ", 4, 4);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ public class PersistTest extends CardTestPlayerBase {
|
|||
assertLife(playerB, 26); // +6 from lifelink of Wurmcoil
|
||||
|
||||
assertPermanentCount(playerB, "Wurmcoil Engine", 0);
|
||||
assertPermanentCount(playerB, "Wurm", 2);
|
||||
assertPermanentCount(playerB, "Phyrexian Wurm", 2);
|
||||
assertPermanentCount(playerA, "Kitchen Finks", 2);
|
||||
assertPowerToughness(playerA, "Kitchen Finks", 2, 1, Filter.ComparisonScope.All);
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ public class FlameshadowConjuringTest extends CardTestPlayerBase {
|
|||
assertLife(playerB, 14);
|
||||
assertLife(playerA, 26);
|
||||
|
||||
assertPermanentCount(playerA, "Wurm", 2);
|
||||
assertPermanentCount(playerA, "Phyrexian Wurm", 2);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -382,7 +382,7 @@ public class PhantasmalImageTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerA, "Wurmcoil Engine", 1);
|
||||
|
||||
assertGraveyardCount(playerB, "Phantasmal Image", 1);
|
||||
assertPermanentCount(playerB, "Wurm", 2); // if triggered ability did not work, the Titan would be in the graveyard instaed
|
||||
assertPermanentCount(playerB, "Phyrexian Wurm", 2); // if triggered ability did not work, the Titan would be in the graveyard instaed
|
||||
|
||||
}
|
||||
|
||||
|
@ -574,8 +574,8 @@ public class PhantasmalImageTest extends CardTestPlayerBase {
|
|||
assertGraveyardCount(playerA, "Phantasmal Image", 1);
|
||||
assertGraveyardCount(playerB, "Wurmcoil Engine", 1);
|
||||
|
||||
assertPermanentCount(playerA, "Wurm", 2);
|
||||
assertPermanentCount(playerB, "Wurm", 2);
|
||||
assertPermanentCount(playerA, "Phyrexian Wurm", 2);
|
||||
assertPermanentCount(playerB, "Phyrexian Wurm", 2);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public class DamageEffectsTest extends CardTestPlayerBase {
|
|||
assertGraveyardCount(playerB, "Ob Nixilis, the Fallen", 1);
|
||||
|
||||
assertGraveyardCount(playerA, "Wurmcoil Engine", 1);
|
||||
assertPermanentCount(playerA, "Wurm", 2);
|
||||
assertPermanentCount(playerA, "Phyrexian Wurm", 2);
|
||||
|
||||
assertLife(playerB, 20);
|
||||
assertLife(playerA, 29); // -2 from Ob Nixilis + 12 from double damage with lifelink from Wurmcoil Engine
|
||||
|
|
|
@ -34,8 +34,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
|
|||
|
||||
assertLife(playerA, 16);
|
||||
assertLife(playerB, 24);
|
||||
assertPermanentCount(playerA, "Horror", 1);
|
||||
assertPowerToughness(playerA, "Horror", 24 - 16, 24 - 16);
|
||||
assertPermanentCount(playerA, "Phyrexian Horror", 1);
|
||||
assertPowerToughness(playerA, "Phyrexian Horror", 24 - 16, 24 - 16);
|
||||
assertGraveyardCount(playerA, transfusion, 1);
|
||||
}
|
||||
|
||||
|
@ -60,8 +60,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
|
|||
|
||||
assertLife(playerA, 24);
|
||||
assertLife(playerB, 16);
|
||||
assertPermanentCount(playerA, "Horror", 1);
|
||||
assertPowerToughness(playerA, "Horror", 24 - 16, 24 - 16);
|
||||
assertPermanentCount(playerA, "Phyrexian Horror", 1);
|
||||
assertPowerToughness(playerA, "Phyrexian Horror", 24 - 16, 24 - 16);
|
||||
assertGraveyardCount(playerA, transfusion, 1);
|
||||
}
|
||||
|
||||
|
@ -86,8 +86,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
|
|||
|
||||
assertLife(playerA, 16);
|
||||
assertLife(playerB, 32);
|
||||
assertPermanentCount(playerA, "Horror", 1);
|
||||
assertPowerToughness(playerA, "Horror", 32 - 16, 32 - 16);
|
||||
assertPermanentCount(playerA, "Phyrexian Horror", 1);
|
||||
assertPowerToughness(playerA, "Phyrexian Horror", 32 - 16, 32 - 16);
|
||||
assertGraveyardCount(playerA, transfusion, 1);
|
||||
}
|
||||
|
||||
|
@ -110,8 +110,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
|
|||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 17);
|
||||
assertPermanentCount(playerA, "Horror", 1);
|
||||
assertPowerToughness(playerA, "Horror", 20 - 17, 20 - 17);
|
||||
assertPermanentCount(playerA, "Phyrexian Horror", 1);
|
||||
assertPowerToughness(playerA, "Phyrexian Horror", 20 - 17, 20 - 17);
|
||||
assertGraveyardCount(playerA, transfusion, 1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,8 +45,8 @@ public class CommanderReplaceEffectTest extends CardTestCommanderDuelBase {
|
|||
assertPermanentCount(playerA, "Daxos of Meletis", 0);
|
||||
assertGraveyardCount(playerA, "Daxos of Meletis", 0);
|
||||
|
||||
assertPermanentCount(playerB, "Horror", 1);
|
||||
assertPowerToughness(playerB, "Horror", 1, 1);
|
||||
assertPermanentCount(playerB, "Phyrexian Horror", 1);
|
||||
assertPowerToughness(playerB, "Phyrexian Horror", 1, 1);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -74,8 +74,8 @@ public class CommanderReplaceEffectTest extends CardTestCommanderDuelBase {
|
|||
setStopAt(3, PhaseStep.UPKEEP);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerB, "Horror", 1);
|
||||
assertPowerToughness(playerB, "Horror", 1, 1);
|
||||
assertPermanentCount(playerB, "Phyrexian Horror", 1);
|
||||
assertPowerToughness(playerB, "Phyrexian Horror", 1, 1);
|
||||
|
||||
assertPermanentCount(playerA, "Daxos of Meletis", 1);
|
||||
assertPermanentCount(playerA, "Gift of Immortality", 1);
|
||||
|
|
Loading…
Reference in a new issue