fixed test failures

This commit is contained in:
Evan Kranzler 2021-06-10 20:48:31 -04:00
parent f5d2befc57
commit a7e57b8352
8 changed files with 21 additions and 21 deletions

View file

@ -42,7 +42,7 @@ class ProfaneTransfusionEffect extends OneShotEffect {
ProfaneTransfusionEffect() { ProfaneTransfusionEffect() {
super(Outcome.Benefit); 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"; "where X is the difference between those players' life totals";
} }

View file

@ -37,7 +37,7 @@ public class BatterskullTest extends CardTestPlayerBase {
assertHandCount(playerA, 0); assertHandCount(playerA, 0);
assertPermanentCount(playerA, "Batterskull", 1); assertPermanentCount(playerA, "Batterskull", 1);
assertPermanentCount(playerA, "Germ", 1); assertPermanentCount(playerA, "Phyrexian Germ", 1);
assertPowerToughness(playerA, "Germ", 4, 4); assertPowerToughness(playerA, "Phyrexian Germ", 4, 4);
} }
} }

View file

@ -150,7 +150,7 @@ public class PersistTest extends CardTestPlayerBase {
assertLife(playerB, 26); // +6 from lifelink of Wurmcoil assertLife(playerB, 26); // +6 from lifelink of Wurmcoil
assertPermanentCount(playerB, "Wurmcoil Engine", 0); assertPermanentCount(playerB, "Wurmcoil Engine", 0);
assertPermanentCount(playerB, "Wurm", 2); assertPermanentCount(playerB, "Phyrexian Wurm", 2);
assertPermanentCount(playerA, "Kitchen Finks", 2); assertPermanentCount(playerA, "Kitchen Finks", 2);
assertPowerToughness(playerA, "Kitchen Finks", 2, 1, Filter.ComparisonScope.All); assertPowerToughness(playerA, "Kitchen Finks", 2, 1, Filter.ComparisonScope.All);

View file

@ -79,7 +79,7 @@ public class FlameshadowConjuringTest extends CardTestPlayerBase {
assertLife(playerB, 14); assertLife(playerB, 14);
assertLife(playerA, 26); assertLife(playerA, 26);
assertPermanentCount(playerA, "Wurm", 2); assertPermanentCount(playerA, "Phyrexian Wurm", 2);
} }

View file

@ -382,7 +382,7 @@ public class PhantasmalImageTest extends CardTestPlayerBase {
assertPermanentCount(playerA, "Wurmcoil Engine", 1); assertPermanentCount(playerA, "Wurmcoil Engine", 1);
assertGraveyardCount(playerB, "Phantasmal Image", 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(playerA, "Phantasmal Image", 1);
assertGraveyardCount(playerB, "Wurmcoil Engine", 1); assertGraveyardCount(playerB, "Wurmcoil Engine", 1);
assertPermanentCount(playerA, "Wurm", 2); assertPermanentCount(playerA, "Phyrexian Wurm", 2);
assertPermanentCount(playerB, "Wurm", 2); assertPermanentCount(playerB, "Phyrexian Wurm", 2);
} }

View file

@ -42,7 +42,7 @@ public class DamageEffectsTest extends CardTestPlayerBase {
assertGraveyardCount(playerB, "Ob Nixilis, the Fallen", 1); assertGraveyardCount(playerB, "Ob Nixilis, the Fallen", 1);
assertGraveyardCount(playerA, "Wurmcoil Engine", 1); assertGraveyardCount(playerA, "Wurmcoil Engine", 1);
assertPermanentCount(playerA, "Wurm", 2); assertPermanentCount(playerA, "Phyrexian Wurm", 2);
assertLife(playerB, 20); assertLife(playerB, 20);
assertLife(playerA, 29); // -2 from Ob Nixilis + 12 from double damage with lifelink from Wurmcoil Engine assertLife(playerA, 29); // -2 from Ob Nixilis + 12 from double damage with lifelink from Wurmcoil Engine

View file

@ -34,8 +34,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
assertLife(playerA, 16); assertLife(playerA, 16);
assertLife(playerB, 24); assertLife(playerB, 24);
assertPermanentCount(playerA, "Horror", 1); assertPermanentCount(playerA, "Phyrexian Horror", 1);
assertPowerToughness(playerA, "Horror", 24 - 16, 24 - 16); assertPowerToughness(playerA, "Phyrexian Horror", 24 - 16, 24 - 16);
assertGraveyardCount(playerA, transfusion, 1); assertGraveyardCount(playerA, transfusion, 1);
} }
@ -60,8 +60,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
assertLife(playerA, 24); assertLife(playerA, 24);
assertLife(playerB, 16); assertLife(playerB, 16);
assertPermanentCount(playerA, "Horror", 1); assertPermanentCount(playerA, "Phyrexian Horror", 1);
assertPowerToughness(playerA, "Horror", 24 - 16, 24 - 16); assertPowerToughness(playerA, "Phyrexian Horror", 24 - 16, 24 - 16);
assertGraveyardCount(playerA, transfusion, 1); assertGraveyardCount(playerA, transfusion, 1);
} }
@ -86,8 +86,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
assertLife(playerA, 16); assertLife(playerA, 16);
assertLife(playerB, 32); assertLife(playerB, 32);
assertPermanentCount(playerA, "Horror", 1); assertPermanentCount(playerA, "Phyrexian Horror", 1);
assertPowerToughness(playerA, "Horror", 32 - 16, 32 - 16); assertPowerToughness(playerA, "Phyrexian Horror", 32 - 16, 32 - 16);
assertGraveyardCount(playerA, transfusion, 1); assertGraveyardCount(playerA, transfusion, 1);
} }
@ -110,8 +110,8 @@ public class ProfaneTransfusionTest extends CardTestPlayerBase {
assertLife(playerA, 20); assertLife(playerA, 20);
assertLife(playerB, 17); assertLife(playerB, 17);
assertPermanentCount(playerA, "Horror", 1); assertPermanentCount(playerA, "Phyrexian Horror", 1);
assertPowerToughness(playerA, "Horror", 20 - 17, 20 - 17); assertPowerToughness(playerA, "Phyrexian Horror", 20 - 17, 20 - 17);
assertGraveyardCount(playerA, transfusion, 1); assertGraveyardCount(playerA, transfusion, 1);
} }
} }

View file

@ -45,8 +45,8 @@ public class CommanderReplaceEffectTest extends CardTestCommanderDuelBase {
assertPermanentCount(playerA, "Daxos of Meletis", 0); assertPermanentCount(playerA, "Daxos of Meletis", 0);
assertGraveyardCount(playerA, "Daxos of Meletis", 0); assertGraveyardCount(playerA, "Daxos of Meletis", 0);
assertPermanentCount(playerB, "Horror", 1); assertPermanentCount(playerB, "Phyrexian Horror", 1);
assertPowerToughness(playerB, "Horror", 1, 1); assertPowerToughness(playerB, "Phyrexian Horror", 1, 1);
} }
@Test @Test
@ -74,8 +74,8 @@ public class CommanderReplaceEffectTest extends CardTestCommanderDuelBase {
setStopAt(3, PhaseStep.UPKEEP); setStopAt(3, PhaseStep.UPKEEP);
execute(); execute();
assertPermanentCount(playerB, "Horror", 1); assertPermanentCount(playerB, "Phyrexian Horror", 1);
assertPowerToughness(playerB, "Horror", 1, 1); assertPowerToughness(playerB, "Phyrexian Horror", 1, 1);
assertPermanentCount(playerA, "Daxos of Meletis", 1); assertPermanentCount(playerA, "Daxos of Meletis", 1);
assertPermanentCount(playerA, "Gift of Immortality", 1); assertPermanentCount(playerA, "Gift of Immortality", 1);