mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
also test Kessig Forgemaster
the other face of that card has a similar ability that needs fixing
This commit is contained in:
parent
ae8e121e90
commit
0f9ede42bd
1 changed files with 29 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class FlameheartWerewolfTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Kalitas, Traitor of Ghet", 0);
|
||||
assertGraveyardCount(playerB, "Kalitas, Traitor of Ghet", 1);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testBlockedByTwo22s() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Flameheart Werewolf");
|
||||
|
@ -71,4 +71,32 @@ public class FlameheartWerewolfTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Wind Drake", 0);
|
||||
assertGraveyardCount(playerB, "Wind Drake", 1);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testKessigForgemaster() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Kessig Forgemaster");
|
||||
// Both 1/1 creatures should die before the combat starts
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Wily Bandar");
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Stern Constable");
|
||||
|
||||
attack(3, playerA, "Kessig Forgemaster");
|
||||
block(3, playerB, "Wily Bandar", "Flameheart Werewolf");
|
||||
block(3, playerB, "Stern Constable", "Flameheart Werewolf");
|
||||
|
||||
setStopAt(3, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
// Kessig Forgemaster was blocked, no trample
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
|
||||
// both 1/1s should die before they had a chance to deal damage
|
||||
// to Kessig Forgemaster
|
||||
assertPermanentCount(playerA, "Kessig Forgemaster", 1);
|
||||
assertGraveyardCount(playerA, "Kessig Forgemaster", 0);
|
||||
assertPermanentCount(playerB, "Wily Bandar", 0);
|
||||
assertGraveyardCount(playerB, "Wily Bandar", 1);
|
||||
assertPermanentCount(playerB, "Stern Constable", 0);
|
||||
assertGraveyardCount(playerB, "Stern Constable", 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue