Some minor changes.

This commit is contained in:
LevelX2 2015-10-16 15:03:40 +02:00
parent c642165020
commit 597d530a37
3 changed files with 103 additions and 88 deletions

View file

@ -2,6 +2,8 @@ package org.mage.test.cards.triggers;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import mage.game.permanent.Permanent;
import org.junit.Assert;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
@ -13,14 +15,16 @@ public class FathomMageTest extends CardTestPlayerBase {
/**
* Fathom Mage - Creature Human Wizard 1/1, 2UG
*
* Evolve (Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.)
* Whenever a +1/+1 counter is placed on Fathom Mage, you may draw a card.
* Evolve (Whenever a creature enters the battlefield under your control, if
* that creature has greater power or toughness than this creature, put a
* +1/+1 counter on this creature.) Whenever a +1/+1 counter is placed on
* Fathom Mage, you may draw a card.
*
*
*/
@Test
public void testDrawCardsAddedCounters() {
// card draw triggered ability will trigger once for each of those counters from Blessings of Nature.
// card draw triggered ability will trigger once for each of those counters from Blessings of Nature.
addCard(Zone.HAND, playerA, "Blessings of Nature");
addCard(Zone.BATTLEFIELD, playerA, "Fathom Mage", 1);
@ -38,9 +42,11 @@ public class FathomMageTest extends CardTestPlayerBase {
@Test
public void testDrawCardsEntersTheBattlefield() {
// card draw triggered ability will trigger once for each of those counters from Master Biomancer.
// card draw triggered ability will trigger once for each of those counters from Master Biomancer.
addCard(Zone.HAND, playerA, "Fathom Mage");
// Each other creature you control enters the battlefield with a number of additional +1/+1 counters on it equal to
// Master Biomancer's power and as a Mutant in addition to its other types.
addCard(Zone.BATTLEFIELD, playerA, "Master Biomancer", 1);
addCard(Zone.BATTLEFIELD, playerA, "Forest", 4);
addCard(Zone.BATTLEFIELD, playerA, "Island", 4);
@ -52,6 +58,10 @@ public class FathomMageTest extends CardTestPlayerBase {
assertPermanentCount(playerA, "Fathom Mage", 1);
assertPowerToughness(playerA, "Fathom Mage", 3, 3);
Permanent fathomMage = getPermanent("Fathom Mage", playerA);
Assert.assertEquals("Fathom Mage has to be a Mutant", fathomMage.getSubtype().contains("Mutant"), true);
assertHandCount(playerA, 2);
}
}