1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-13 09:11:06 -09:00

updated Gisela, Blade of Goldnight test to check Banefire interaction

This commit is contained in:
Evan Kranzler 2019-01-27 11:00:13 -05:00
parent 22971b63fa
commit 23f74c77ce

View file

@ -47,4 +47,34 @@ public class GiselaBladeOfGoldnightTest extends CardTestPlayerBase {
assertPermanentCount(playerB, "Air Elemental", 0);
}
@Test
public void testUnpreventableDamageToPlayer() {
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 6);
addCard(Zone.BATTLEFIELD, playerA, "Gisela, Blade of Goldnight");
addCard(Zone.HAND, playerB, "Banefire");
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Banefire", playerA);
setChoice(playerB, "X=5");
execute();
// Player A should take the full 5 damage
assertLife(playerA, 15);
}
@Test
public void testUnpreventableDamageToCreature() {
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 7);
addCard(Zone.BATTLEFIELD, playerA, "Gisela, Blade of Goldnight");
addCard(Zone.BATTLEFIELD, playerA, "Colossal Dreadmaw");
addCard(Zone.HAND, playerB, "Banefire");
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Banefire", "Colossal Dreadmaw");
setChoice(playerB, "X=6");
execute();
// Dreadmaw should be dead
assertPermanentCount(playerA, "Colossal Dreadmaw", 0);
}
}