mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
GatekeeperOfMalakir kicker test. Fails.
This commit is contained in:
parent
03da0bb557
commit
80a25377b5
6 changed files with 46 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package org.mage.test.cards.usedbyai;
|
||||
package org.mage.test.ai;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import mage.Constants;
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue