mirror of
https://github.com/correl/mage.git
synced 2025-01-11 11:05:23 +00:00
Wrapped land test (special for Eugen :))
This commit is contained in:
parent
4d8d92ed7d
commit
b63032b8f3
1 changed files with 19 additions and 0 deletions
19
Mage.Tests/src/test/java/org/mage/test/LandTestExtended.java
Normal file
19
Mage.Tests/src/test/java/org/mage/test/LandTestExtended.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
package org.mage.test;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.base.MageAPIExtended;
|
||||
|
||||
import static org.mage.test.base.MageAPI.Owner.mine;
|
||||
|
||||
public class LandTestExtended extends MageAPIExtended {
|
||||
|
||||
@Test
|
||||
public void testPlayingLandInMainPhase() throws Exception {
|
||||
addCard("Mountain", Constants.Zone.HAND);
|
||||
setPhase("Precombat Main", mine);
|
||||
play("Mountain");
|
||||
assertBattlefield("Mountain");
|
||||
assertGraveyardsCount(0);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue