mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
Sejiri Merfolk test update
This commit is contained in:
parent
de146458a9
commit
a245d2c816
1 changed files with 6 additions and 2 deletions
|
|
@ -6,18 +6,20 @@ import mage.abilities.keyword.FirstStrikeAbility;
|
|||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.game.permanent.Permanent;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestBase;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author ayrat
|
||||
*/
|
||||
public class SejiriMerfolkTest extends CardTestBase {
|
||||
public class SejiriMerfolkTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testWithoutPlains() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Sejiri Merfolk");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.DRAW);
|
||||
execute();
|
||||
|
||||
Permanent merfolk = getPermanent("Sejiri Merfolk", playerA.getId());
|
||||
Assert.assertNotNull(merfolk);
|
||||
Assert.assertFalse(merfolk.getAbilities().contains(FirstStrikeAbility.getInstance()));
|
||||
|
|
@ -28,8 +30,10 @@ public class SejiriMerfolkTest extends CardTestBase {
|
|||
public void testWithPlains() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Sejiri Merfolk");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.DRAW);
|
||||
execute();
|
||||
|
||||
Permanent merfolk = getPermanent("Sejiri Merfolk", playerA.getId());
|
||||
Assert.assertNotNull(merfolk);
|
||||
Assert.assertTrue(merfolk.getAbilities().contains(FirstStrikeAbility.getInstance()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue