mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
use Static filter rather than new filter, add test for this filter
This commit is contained in:
parent
9125df4ccf
commit
4a14940414
11 changed files with 52 additions and 34 deletions
|
|
@ -0,0 +1,28 @@
|
|||
package org.mage.test.cards.mana;
|
||||
|
||||
import mage.constants.ManaType;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class GaeasGradleTest extends CardTestPlayerBase {
|
||||
|
||||
private final String cradle = "Gaea's Cradle";
|
||||
private final String bears = "Grizzly Bears";
|
||||
private final String thopter = "Ornithopter";
|
||||
|
||||
@Test
|
||||
public void testGradle(){
|
||||
addCard(Zone.BATTLEFIELD, playerA, cradle);
|
||||
addCard(Zone.BATTLEFIELD, playerA, bears, 2);
|
||||
addCard(Zone.BATTLEFIELD, playerB, thopter);
|
||||
|
||||
activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA,"{T}: ");
|
||||
|
||||
checkManaPool("gaeas cradle ",1, PhaseStep.PRECOMBAT_MAIN, playerA, "G", 2);
|
||||
setStopAt(1, PhaseStep.PRECOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue