forked from External/mage
add test (broken for now)
This commit is contained in:
parent
0b75e4866a
commit
4df0201256
1 changed files with 29 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue