GatekeeperOfMalakir kicker test. Fails.

This commit is contained in:
magenoxx 2012-05-03 18:21:30 +04:00
parent 03da0bb557
commit 80a25377b5
6 changed files with 46 additions and 10 deletions

View file

@ -1,4 +1,4 @@
package org.mage.test.cards.usedbyai;
package org.mage.test.ai;
import junit.framework.Assert;
import mage.Constants;

View file

@ -0,0 +1,32 @@
package org.mage.test.cards.cost.kicker;
import mage.Constants;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
*
* @author noxx
*/
public class GatekeeperOfMalakirTest extends CardTestPlayerBase {
@Test
public void testCard() {
addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp", 3);
addCard(Constants.Zone.HAND, playerA, "Gatekeeper of Malakir");
addCard(Constants.Zone.BATTLEFIELD, playerB, "Llanowar Elves");
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Gatekeeper of Malakir");
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
execute();
assertLife(playerA, 20);
assertLife(playerB, 20);
assertPermanentCount(playerA, "Gatekeeper of Malakir", 1);
assertPermanentCount(playerB, "Llanowar Elves", 0);
assertGraveyardCount(playerB, 1);
}
}