mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
added a failing test for planeswalker damage
This commit is contained in:
parent
593d25d6be
commit
57dfba99b7
1 changed files with 22 additions and 0 deletions
|
@ -1,11 +1,13 @@
|
|||
package org.mage.test.cards.planeswalker;
|
||||
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.game.permanent.Permanent;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
|
@ -139,4 +141,24 @@ public class GideonTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Gideon, Battle-Forged", 0);
|
||||
assertGraveyardCount(playerB, "Kytheon, Hero of Akros", 1);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void testGideonJura() {
|
||||
// TODO: this test fails because of how damage is currently handled
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Gideon Jura");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Leyline of Punishment");
|
||||
addCard(Zone.HAND, playerA, "Lightning Bolt");
|
||||
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "0:");
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt", "Gideon Jura");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertType("Gideon Jura", CardType.CREATURE, true);
|
||||
assertDamageReceived(playerA, "Gideon Jura", 3);
|
||||
assertCounterCount(playerA, "Gideon Jura", CounterType.LOYALTY, 3);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue