diff --git a/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastAlternateCastingCostsTest.java b/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastAlternateCastingCostsTest.java index dd11d6b9b3..bb54475527 100644 --- a/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastAlternateCastingCostsTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastAlternateCastingCostsTest.java @@ -43,8 +43,7 @@ public class CastAlternateCastingCostsTest extends CardTestPlayerBaseAI { * Tests that if a spell has alternate casting costs, this option is also calculated */ @Test - @Ignore // AI only gets the cast ability yet, but does always say yes to use evoke - // TODO: Get the AI both options to calculate + @Ignore // AI only gets the cast ability yet, but does always say yes to use evoke by default public void testEvoke() { // Flying // When Mulldrifter enters the battlefield, draw two cards. diff --git a/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastCreaturesTest.java b/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastCreaturesTest.java index 91da3f49c4..fd1195e28b 100644 --- a/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastCreaturesTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/AI/basic/CastCreaturesTest.java @@ -58,7 +58,8 @@ public class CastCreaturesTest extends CardTestPlayerBaseAI { * first creature */ @Test - @Ignore // Produces sometime error probably because of wrong mana usage of the AI - Not solved yet + @Ignore + // TODO: find out why sometimes Produces error probably because of wrong mana usage of the AI - Not solved yet public void testSimpleCast2() { addCard(Zone.HAND, playerA, "Silvercoat Lion"); addCard(Zone.HAND, playerA, "Silvercoat Lion"); diff --git a/Mage.Tests/src/test/java/org/mage/test/AI/basic/CostModificationTest.java b/Mage.Tests/src/test/java/org/mage/test/AI/basic/CostModificationTest.java index 8460ca543b..248d075d1b 100644 --- a/Mage.Tests/src/test/java/org/mage/test/AI/basic/CostModificationTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/AI/basic/CostModificationTest.java @@ -44,7 +44,8 @@ public class CostModificationTest extends CardTestPlayerBaseAI { * Once played, I am stuck at "Waiting for Computer" forever... */ @Test - @Ignore // TODO: Check why sometimes Silvercoat Lion is not cast from AI + @Ignore + // TODO: Check why sometimes Silvercoat Lion is not cast from AI public void testFluctuator() { addCard(Zone.HAND, playerA, "Silvercoat Lion"); // Destroy all artifacts, creatures, and enchantments. diff --git a/Mage.Tests/src/test/java/org/mage/test/AI/basic/TargetsAreChosenTest.java b/Mage.Tests/src/test/java/org/mage/test/AI/basic/TargetsAreChosenTest.java index 7f526d8716..ff7e56f8f8 100644 --- a/Mage.Tests/src/test/java/org/mage/test/AI/basic/TargetsAreChosenTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/AI/basic/TargetsAreChosenTest.java @@ -199,7 +199,7 @@ public class TargetsAreChosenTest extends CardTestPlayerBaseAI { * Test that AI counters creature spell */ @Test - @Ignore // counter spells don't seem to be cast by AI + @Ignore // counter spells don't seem to be cast by AI public void testRewind() { addCard(Zone.BATTLEFIELD, playerA, "Island", 4); // Counter target spell. Untap up to four lands. diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/LandfallTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/LandfallTest.java index 0b8cdc42f3..8edf2014d6 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/LandfallTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/LandfallTest.java @@ -30,7 +30,6 @@ package org.mage.test.cards.abilities.keywords; import mage.abilities.keyword.IntimidateAbility; import mage.constants.PhaseStep; import mage.constants.Zone; -import org.junit.Ignore; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; @@ -189,7 +188,6 @@ public class LandfallTest extends CardTestPlayerBase { 21:10: Attacker: Inkmoth Nexus 1b5 unblocked */ @Test - @Ignore public void testGroundswellWithLandfall() { // Target creature gets +2/+2 until end of turn. //Landfall - If you had a land enter the battlefield under your control this turn, that creature gets +4/+4 until end of turn instead. diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/NornsAnnexTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/NornsAnnexTest.java index 2336b6aa89..0ca9b59bd3 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/single/NornsAnnexTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/NornsAnnexTest.java @@ -2,13 +2,13 @@ package org.mage.test.cards.single; import mage.constants.PhaseStep; import mage.constants.Zone; - import org.junit.Ignore; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * Created by glerman on 23/6/15. + * what is this test??? */ @Ignore public class NornsAnnexTest extends CardTestPlayerBase{ diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/OmniscienceTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/OmniscienceTest.java index 281fae3c93..088b01789c 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/single/OmniscienceTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/OmniscienceTest.java @@ -160,7 +160,7 @@ public class OmniscienceTest extends CardTestPlayerBase { * working. */ @Test - @Ignore // targeting of fused/split spells not supported by thestplayer + @Ignore // targeting of fused/split spells not supported by testplayer public void testCastingFusedSpell() { addCard(Zone.BATTLEFIELD, playerA, "Omniscience"); addCard(Zone.BATTLEFIELD, playerA, "Island", 2); diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/soi/NightSideCMCTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/soi/NightSideCMCTest.java new file mode 100644 index 0000000000..9d0db01182 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/soi/NightSideCMCTest.java @@ -0,0 +1,42 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package org.mage.test.cards.single.soi; + +import mage.constants.PhaseStep; +import mage.constants.Zone; +import org.junit.Test; +import org.mage.test.serverside.base.CardTestPlayerBase; + +/** + * New SOI mechanics change requires the night-side CMC to be equal to the day-side CMC + * @author escplan9 (Derek Monturo - dmontur1 at gmail dot com) + */ +public class NightSideCMCTest extends CardTestPlayerBase { + + /** + * + **/ + @Test + public void insectileAbberationRepealXis1Test() { + + addCard(Zone.BATTLEFIELD, playerA, "Insectile Aberration"); // night-side of Delver of Secrets {U} + // Instant - {X}{U} + // Return target nonland permanent with converted mana cost X to its owner's hand. Draw a card. + addCard(Zone.HAND, playerB, "Repeal"); + addCard(Zone.BATTLEFIELD, playerB, "Island", 2); + + castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerB, "Repeal"); + setChoice(playerB, "X=1"); + addTarget(playerB, "Insectile Aberration"); + + setStopAt(1, PhaseStep.BEGIN_COMBAT); + execute(); + + assertGraveyardCount(playerB, "Repeal", 1); + assertPermanentCount(playerA, "Insectile Aberration", 0); + assertHandCount(playerA, "Delver of Secrets", 1); // day-side of Insectile Abberation returned to hand + } +} diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/triggers/TargetedTriggeredTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/triggers/TargetedTriggeredTest.java index 0ff36da16a..1e4ecf5f98 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/triggers/TargetedTriggeredTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/triggers/TargetedTriggeredTest.java @@ -46,7 +46,7 @@ public class TargetedTriggeredTest extends CardTestPlayerBase { */ @Test @Ignore - // this does currently not work in test, because the target event will be fired earlier during tests, + // this does not currently work in test, because the target event will be fired earlier during tests, // so the zone change counter for the fixed target of the counterspell will not work public void testKiraGreatGlassSpinnerFirstSpellTurn() { addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);