mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Hearthcage Giant test confirms bug #2141
This commit is contained in:
parent
335c24c7c0
commit
7205144c95
1 changed files with 17 additions and 0 deletions
|
@ -341,4 +341,21 @@ public class EntersTheBattlefieldTriggerTest extends CardTestPlayerBase {
|
|||
assertPowerToughness(playerB, "Carnivorous Plant", 1, 2);
|
||||
assertPowerToughness(playerA, "Carnivorous Plant", -1, 2);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testHearthcageGiant() {
|
||||
// {6}{R}{R} Creature — Giant Warrior
|
||||
//When Hearthcage Giant enters the battlefield, put two 3/1 red Elemental Shaman creature tokens onto the battlefield.
|
||||
//Sacrifice an Elemental: Target Giant creature gets +3/+1 until end of turn.
|
||||
addCard(Zone.HAND,playerA,"Hearthcage Giant");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 8);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Hearthcage Giant");
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "Hearthcage Giant", 1);
|
||||
assertPermanentCount(playerA, "Elemental Shaman", 2);
|
||||
assertPowerToughness(playerA, "Elemental Shaman", 3, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue