add test (broken for now)

This commit is contained in:
Loki 2012-03-26 21:54:03 +04:00
parent 0b75e4866a
commit 4df0201256

View file

@ -0,0 +1,29 @@
package org.mage.test.cards;
import mage.Constants;
import mage.counters.CounterType;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
* @author loki
*/
public class TestSightlessGhoul extends CardTestPlayerBase {
@Test
public void testUndying() {
addCard(Constants.Zone.BATTLEFIELD, playerA, "Sightless Ghoul");
addCard(Constants.Zone.HAND, playerB, "Mountain", 8);
addCard(Constants.Zone.HAND, playerB, "Lightning Bolt");
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerB, "Lightning Bolt", "Sightless Ghoul");
setStopAt(1, Constants.PhaseStep.END_TURN);
execute();
assertLife(playerA, 20);
assertLife(playerB, 20);
assertPermanentCount(playerA, "Sightless Ghoul", 1);
assertCounterCount("Sightless Ghoul", CounterType.P1P1, 1);
}
}