diff --git a/gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set14/set14.hjson b/gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set14/set14.hjson index 305147e38..414e99041 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set14/set14.hjson +++ b/gemp-lotr/gemp-lotr-cards/src/main/resources/cards/official/set14/set14.hjson @@ -1,6 +1,6 @@ { 14_1: { - title: Dain Ironfoot + title: Dáin Ironfoot subtitle: King Under the Mountain unique: true culture: dwarven @@ -251,7 +251,7 @@ } 14_7: { title: Duilin - subtitle: Ranger from Blackroot Vale + subtitle: Ranger From Blackroot Vale unique: true culture: gondor twilight: 2 diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_001_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_001_Tests.java index d044e0991..d16eb3b56 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_001_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_001_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,48 +27,44 @@ public class Card_14_001_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test - public void DinIronfootStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { + @Test + public void DainIronfootStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Dáin Ironfoot, King Under the Mountain - * Unique: True - * Side: FREE_PEOPLE - * Culture: Dwarven - * Twilight Cost: 3 - * Type: companion - * Subtype: Dwarf - * Strength: 7 - * Vitality: 3 - * Resistance: 6 - * Game Text: Each of your other Dwarves and [gandalf] Men is twilight cost -1.
At the start of the regroup phase, you may discard a [dwarven] or [gandalf] condition from play to discard a minion from play. + * Set: 14 + * Name: Dáin Ironfoot, King Under the Mountain + * Unique: True + * Side: Free Peoples + * Culture: Dwarven + * Twilight Cost: 3 + * Type: Companion + * Subtype: Dwarf + * Strength: 7 + * Vitality: 3 + * Resistance: 6 + * Game Text: Each of your other Dwarves and [gandalf] Men is twilight cost -1.
At the start of the regroup phase, you may discard a [dwarven] or [gandalf] condition from play to discard a minion from play. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Dáin Ironfoot", card.getBlueprint().getTitle()); + assertEquals("King Under the Mountain", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.DWARVEN, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.DWARF, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.DWARF)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(7, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test - public void DinIronfootTest1() throws DecisionResultInvalidException, CardNotFoundException { + public void DainIronfootTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup var scn = GetScenario(); diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_002_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_002_Tests.java index b25ac9841..8ddd70e07 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_002_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_002_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_002_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void ElladanStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Elladan, Son of Elrond - * Unique: True - * Side: FREE_PEOPLE - * Culture: Elven - * Twilight Cost: 3 - * Type: companion - * Subtype: Elf - * Strength: 7 - * Vitality: 3 - * Resistance: 6 - * Game Text: Elrohir is twilight cost -2.
Each time you play an [elven] event during a skirmish involving Elladan or Elrohir, that event is twilight cost -2. + * Set: 14 + * Name: Elladan, Son of Elrond + * Unique: True + * Side: Free Peoples + * Culture: Elven + * Twilight Cost: 3 + * Type: Companion + * Subtype: Elf + * Strength: 7 + * Vitality: 3 + * Resistance: 6 + * Game Text: Elrohir is twilight cost -2.
Each time you play an [elven] event during a skirmish involving Elladan or Elrohir, that event is twilight cost -2. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Elladan", card.getBlueprint().getTitle()); + assertEquals("Son of Elrond", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.ELVEN, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.ELF, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.ELF)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(7, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void ElladanTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_003_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_003_Tests.java index 7e0b734ec..46b20546c 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_003_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_003_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_003_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void ElrohirStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Elrohir, Son of Elrond - * Unique: True - * Side: FREE_PEOPLE - * Culture: Elven - * Twilight Cost: 3 - * Type: companion - * Subtype: Elf - * Strength: 7 - * Vitality: 3 - * Resistance: 6 - * Game Text: Elladan is twilight cost -2.
Each time you play an [elven] event during a skirmish involving Elrohir or Elladan, each minion in that skirmish is strength -2. + * Set: 14 + * Name: Elrohir, Son of Elrond + * Unique: True + * Side: Free Peoples + * Culture: Elven + * Twilight Cost: 3 + * Type: Companion + * Subtype: Elf + * Strength: 7 + * Vitality: 3 + * Resistance: 6 + * Game Text: Elladan is twilight cost -2.
Each time you play an [elven] event during a skirmish involving Elrohir or Elladan, each minion in that skirmish is strength -2. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Elrohir", card.getBlueprint().getTitle()); + assertEquals("Son of Elrond", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.ELVEN, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.ELF, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.ELF)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(7, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void ElrohirTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_004_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_004_Tests.java index e7f14dfcb..3b102cd4c 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_004_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_004_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_004_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void GildorInglorionStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Gildor Inglorion, Of the House of Finrod - * Unique: True - * Side: FREE_PEOPLE - * Culture: Elven - * Twilight Cost: 2 - * Type: companion - * Subtype: Elf - * Strength: 6 - * Vitality: 3 - * Resistance: 6 - * Game Text: At the start of each archery phase, if you can spot more minions than companions, each of your companions is an archer. + * Set: 14 + * Name: Gildor Inglorion, Of the House of Finrod + * Unique: True + * Side: Free Peoples + * Culture: Elven + * Twilight Cost: 2 + * Type: Companion + * Subtype: Elf + * Strength: 6 + * Vitality: 3 + * Resistance: 6 + * Game Text: At the start of each archery phase, if you can spot more minions than companions, each of your companions is an archer. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Gildor Inglorion", card.getBlueprint().getTitle()); + assertEquals("Of the House of Finrod", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.ELVEN, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.ELF, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.ELF)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(2, card.getBlueprint().getTwilightCost()); assertEquals(6, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void GildorInglorionTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_005_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_005_Tests.java index d847f81df..e00fabcd9 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_005_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_005_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_005_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void BrandStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Brand, King of Dale - * Unique: True - * Side: FREE_PEOPLE - * Culture: Gandalf - * Twilight Cost: 2 - * Type: companion - * Subtype: Man - * Strength: 6 - * Vitality: 3 - * Resistance: 6 - * Game Text: Each of your Dwarves and other [gandalf] Men is strength +1.
While you can spot more minions than companions, the fellowship archery total is +X, where X is the number of minions minus the number of companions. + * Set: 14 + * Name: Brand, King of Dale + * Unique: True + * Side: Free Peoples + * Culture: Gandalf + * Twilight Cost: 2 + * Type: Companion + * Subtype: Man + * Strength: 6 + * Vitality: 3 + * Resistance: 6 + * Game Text: Each of your Dwarves and other [gandalf] Men is strength +1.
While you can spot more minions than companions, the fellowship archery total is +X, where X is the number of minions minus the number of companions. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Brand", card.getBlueprint().getTitle()); + assertEquals("King of Dale", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.GANDALF, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(2, card.getBlueprint().getTwilightCost()); assertEquals(6, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void BrandTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_006_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_006_Tests.java index f1cd04525..8139e8ca4 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_006_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_006_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_006_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void GrimbeornStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Grimbeorn, Beorning Chieftain - * Unique: True - * Side: FREE_PEOPLE - * Culture: Gandalf - * Twilight Cost: 3 - * Type: companion - * Subtype: Man - * Strength: 4 - * Vitality: 5 - * Resistance: 6 - * Game Text: At the start of each turn, heal Grimbeorn.
At the start of the maneuver phase, you may exert Grimbeorn twice and discard a minion from hand to make Grimbeorn strength +X until the regroup phase, where X is that minion's strength. + * Set: 14 + * Name: Grimbeorn, Beorning Chieftain + * Unique: True + * Side: Free Peoples + * Culture: Gandalf + * Twilight Cost: 3 + * Type: Companion + * Subtype: Man + * Strength: 4 + * Vitality: 5 + * Resistance: 6 + * Game Text: At the start of each turn, heal Grimbeorn.
At the start of the maneuver phase, you may exert Grimbeorn twice and discard a minion from hand to make Grimbeorn strength +X until the regroup phase, where X is that minion's strength. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Grimbeorn", card.getBlueprint().getTitle()); + assertEquals("Beorning Chieftain", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.GANDALF, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(4, card.getBlueprint().getStrength()); assertEquals(5, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void GrimbeornTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_007_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_007_Tests.java index b856f9731..77f94a137 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_007_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_007_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,43 @@ public class Card_14_007_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void DuilinStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Duilin, Ranger From Blackroot Vale - * Unique: True - * Side: FREE_PEOPLE - * Culture: Gondor - * Twilight Cost: 2 - * Type: companion - * Subtype: Man - * Strength: 5 - * Vitality: 3 - * Resistance: 5 - * Game Text: Ranger.
While the fellowship is at a forest or river site, Duilin is strength +3. + * Set: 14 + * Name: Duilin, Ranger From Blackroot Vale + * Unique: True + * Side: Free Peoples + * Culture: Gondor + * Twilight Cost: 2 + * Type: Companion + * Subtype: Man + * Strength: 5 + * Vitality: 3 + * Resistance: 5 + * Game Text: Ranger.
While the fellowship is at a forest or river site, Duilin is strength +3. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Duilin", card.getBlueprint().getTitle()); + assertEquals("Ranger From Blackroot Vale", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.GONDOR, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); + assertTrue(scn.HasKeyword(card, Keyword.RANGER)); assertEquals(2, card.getBlueprint().getTwilightCost()); assertEquals(5, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(5, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void DuilinTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_008_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_008_Tests.java index 13308af9a..6d76f6f2b 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_008_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_008_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_008_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void DuinhirStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Duinhir, Tall Man of Blackroot Vale - * Unique: True - * Side: FREE_PEOPLE - * Culture: Gondor - * Twilight Cost: 2 - * Type: companion - * Subtype: Man - * Strength: 6 - * Vitality: 3 - * Resistance: 5 - * Game Text: While you can spot a mount, Duinhir is damage +1.
Each time Duinhir wins a skirmish, if you can spot more minions than companions, you may exert him to discard a minion that has strength 7 or less. + * Set: 14 + * Name: Duinhir, Tall Man of Blackroot Vale + * Unique: True + * Side: Free Peoples + * Culture: Gondor + * Twilight Cost: 2 + * Type: Companion + * Subtype: Man + * Strength: 6 + * Vitality: 3 + * Resistance: 5 + * Game Text: While you can spot a mount, Duinhir is damage +1.
Each time Duinhir wins a skirmish, if you can spot more minions than companions, you may exert him to discard a minion that has strength 7 or less. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Duinhir", card.getBlueprint().getTitle()); + assertEquals("Tall Man of Blackroot Vale", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.GONDOR, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(2, card.getBlueprint().getTwilightCost()); assertEquals(6, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(5, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void DuinhirTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_009_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_009_Tests.java index de4a8fb1d..41c9e8513 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_009_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_009_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,43 @@ public class Card_14_009_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void HalbaradStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Halbarad, Ranger of the North - * Unique: True - * Side: FREE_PEOPLE - * Culture: Gondor - * Twilight Cost: 3 - * Type: companion - * Subtype: Man - * Strength: 7 - * Vitality: 3 - * Resistance: 6 - * Game Text: Ranger.
While the Ring-bearer has resistance 9 or more, Halbarad's twilight cost is -1.
At the start of the maneuver phase, you may discard a [gondor] card from hand to heal a [gondor] companion. + * Set: 14 + * Name: Halbarad, Ranger of the North + * Unique: True + * Side: Free Peoples + * Culture: Gondor + * Twilight Cost: 3 + * Type: Companion + * Subtype: Man + * Strength: 7 + * Vitality: 3 + * Resistance: 6 + * Game Text: Ranger.
While the Ring-bearer has resistance 9 or more, Halbarad's twilight cost is -1.
At the start of the maneuver phase, you may discard a [gondor] card from hand to heal a [gondor] companion. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Halbarad", card.getBlueprint().getTitle()); + assertEquals("Ranger of the North", card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide()); assertEquals(Culture.GONDOR, card.getBlueprint().getCulture()); assertEquals(CardType.COMPANION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); + assertTrue(scn.HasKeyword(card, Keyword.RANGER)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(7, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); assertEquals(6, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); - //assertEquals(, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void HalbaradTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_010_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_010_Tests.java index 302db347a..bfd4735f4 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_010_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_010_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_010_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void FuriousHillmanStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Furious Hillman - * Unique: False - * Side: SHADOW - * Culture: Men - * Twilight Cost: 3 - * Type: minion - * Subtype: Man - * Strength: 8 - * Vitality: 2 - * Site Number: 4 - * Game Text: Response: If the Free Peoples player plays an event, spot another [men] Man and discard this minion from play to cancel that event. + * Set: 14 + * Name: Furious Hillman + * Unique: False + * Side: Shadow + * Culture: Men + * Twilight Cost: 3 + * Type: Minion + * Subtype: Man + * Strength: 8 + * Vitality: 2 + * Site Number: 4 + * Game Text: Response: If the Free Peoples player plays an event, spot another [men] Man and discard this minion from play to cancel that event. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Furious Hillman", card.getBlueprint().getTitle()); + assertNull(card.getBlueprint().getSubtitle()); assertFalse(card.getBlueprint().isUnique()); assertEquals(Side.SHADOW, card.getBlueprint().getSide()); assertEquals(Culture.MEN, card.getBlueprint().getCulture()); assertEquals(CardType.MINION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(8, card.getBlueprint().getStrength()); assertEquals(2, card.getBlueprint().getVitality()); - //assertEquals(, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); assertEquals(4, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void FuriousHillmanTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_011_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_011_Tests.java index 4348bc205..35293fc5a 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_011_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_011_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_011_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void SwarmingHillmanStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Swarming Hillman - * Unique: False - * Side: SHADOW - * Culture: Men - * Twilight Cost: 3 - * Type: minion - * Subtype: Man - * Strength: 8 - * Vitality: 2 - * Site Number: 4 - * Game Text: At the start of the regroup phase, if you can spot more Man characters than any other race, make the move limit -1 this turn. + * Set: 14 + * Name: Swarming Hillman + * Unique: False + * Side: Shadow + * Culture: Men + * Twilight Cost: 3 + * Type: Minion + * Subtype: Man + * Strength: 8 + * Vitality: 2 + * Site Number: 4 + * Game Text: At the start of the regroup phase, if you can spot more Man characters than any other race, make the move limit -1 this turn. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Swarming Hillman", card.getBlueprint().getTitle()); + assertNull(card.getBlueprint().getSubtitle()); assertFalse(card.getBlueprint().isUnique()); assertEquals(Side.SHADOW, card.getBlueprint().getSide()); assertEquals(Culture.MEN, card.getBlueprint().getCulture()); assertEquals(CardType.MINION, card.getBlueprint().getCardType()); assertEquals(Race.MAN, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MAN)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(8, card.getBlueprint().getStrength()); assertEquals(2, card.getBlueprint().getVitality()); - //assertEquals(, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); assertEquals(4, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void SwarmingHillmanTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_012_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_012_Tests.java index 352d2bb43..f46a5ef4a 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_012_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_012_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,42 @@ public class Card_14_012_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void HalftrollofFarHaradStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Half-troll of Far Harad - * Unique: False - * Side: SHADOW - * Culture: Orc - * Twilight Cost: 3 - * Type: minion - * Subtype: Half-troll - * Strength: 8 - * Vitality: 2 - * Site Number: 4 - * Game Text: At the start of each assignment phase, if you can spot more companions than minions, you may remove (2) to play an [orc] Orc from your discard pile. + * Set: 14 + * Name: Half-troll of Far Harad + * Unique: False + * Side: Shadow + * Culture: Orc + * Twilight Cost: 3 + * Type: Minion + * Subtype: Half-troll + * Strength: 8 + * Vitality: 2 + * Site Number: 4 + * Game Text: At the start of each assignment phase, if you can spot more companions than minions, you may remove (2) to play an [orc] Orc from your discard pile. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Half-troll of Far Harad", card.getBlueprint().getTitle()); + assertNull(card.getBlueprint().getSubtitle()); assertFalse(card.getBlueprint().isUnique()); assertEquals(Side.SHADOW, card.getBlueprint().getSide()); assertEquals(Culture.ORC, card.getBlueprint().getCulture()); assertEquals(CardType.MINION, card.getBlueprint().getCardType()); assertEquals(Race.HALF_TROLL, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.HALF-TROLL)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(8, card.getBlueprint().getStrength()); assertEquals(2, card.getBlueprint().getVitality()); - //assertEquals(, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); assertEquals(4, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void HalftrollofFarHaradTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_013_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_013_Tests.java index 3923fbee0..2c9d3bb7f 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_013_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_013_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,51 @@ public class Card_14_013_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void HorrorofHaradStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Horror of Harad - * Unique: True - * Side: SHADOW - * Culture: Orc - * Twilight Cost: 4 - * Type: minion - * Subtype: Half-troll - * Strength: 9 - * Vitality: 3 - * Site Number: 4 - * Game Text: Ambush (1). Damage +1. Fierce. Lurker. Muster. Toil 2. + * Set: 14 + * Name: Horror of Harad + * Unique: True + * Side: Shadow + * Culture: Orc + * Twilight Cost: 4 + * Type: Minion + * Subtype: Half-troll + * Strength: 9 + * Vitality: 3 + * Site Number: 4 + * Game Text: Ambush (1). Damage +1. Fierce. Lurker. Muster. Toil 2. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Horror of Harad", card.getBlueprint().getTitle()); + assertNull(card.getBlueprint().getSubtitle()); assertTrue(card.getBlueprint().isUnique()); assertEquals(Side.SHADOW, card.getBlueprint().getSide()); assertEquals(Culture.ORC, card.getBlueprint().getCulture()); assertEquals(CardType.MINION, card.getBlueprint().getCardType()); assertEquals(Race.HALF_TROLL, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.HALF-TROLL)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); + assertTrue(scn.HasKeyword(card, Keyword.AMBUSH)); + assertEquals(1, scn.GetKeywordCount(card, Keyword.AMBUSH)); + assertTrue(scn.HasKeyword(card, Keyword.DAMAGE)); + assertEquals(1, scn.GetKeywordCount(card, Keyword.DAMAGE)); + assertTrue(scn.HasKeyword(card, Keyword.FIERCE)); + assertTrue(scn.HasKeyword(card, Keyword.LURKER)); + assertTrue(scn.HasKeyword(card, Keyword.MUSTER)); + assertTrue(scn.HasKeyword(card, Keyword.TOIL)); + assertEquals(2, scn.GetKeywordCount(card, Keyword.TOIL)); assertEquals(4, card.getBlueprint().getTwilightCost()); assertEquals(9, card.getBlueprint().getStrength()); assertEquals(3, card.getBlueprint().getVitality()); - //assertEquals(, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); assertEquals(4, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void HorrorofHaradTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_014_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_014_Tests.java index 69f34b789..a771376e4 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_014_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_014_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,44 @@ public class Card_14_014_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void UrukhaiHealerStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Uruk-hai Healer - * Unique: False - * Side: SHADOW - * Culture: Uruk-hai - * Twilight Cost: 3 - * Type: minion - * Subtype: Uruk-hai - * Strength: 8 - * Vitality: 2 - * Site Number: 5 - * Game Text: Damage +1.
At the start of each assignment phase, you may heal an Uruk-hai for each companion you can spot. + * Set: 14 + * Name: Uruk-hai Healer + * Unique: False + * Side: Shadow + * Culture: Uruk-hai + * Twilight Cost: 3 + * Type: Minion + * Subtype: Uruk-hai + * Strength: 8 + * Vitality: 2 + * Site Number: 5 + * Game Text: Damage +1.
At the start of each assignment phase, you may heal an Uruk-hai for each companion you can spot. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Uruk-hai Healer", card.getBlueprint().getTitle()); + assertNull(card.getBlueprint().getSubtitle()); assertFalse(card.getBlueprint().isUnique()); assertEquals(Side.SHADOW, card.getBlueprint().getSide()); assertEquals(Culture.URUK_HAI, card.getBlueprint().getCulture()); assertEquals(CardType.MINION, card.getBlueprint().getCardType()); assertEquals(Race.URUK_HAI, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.URUK-HAI)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); + assertTrue(scn.HasKeyword(card, Keyword.DAMAGE)); + assertEquals(1, scn.GetKeywordCount(card, Keyword.DAMAGE)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(8, card.getBlueprint().getStrength()); assertEquals(2, card.getBlueprint().getVitality()); - //assertEquals(, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); assertEquals(5, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void UrukhaiHealerTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup diff --git a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_015_Tests.java b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_015_Tests.java index 15f26d92a..993b10474 100644 --- a/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_015_Tests.java +++ b/gemp-lotr/gemp-lotr-server/src/test/java/com/gempukku/lotro/cards/official/set14/Card_14_015_Tests.java @@ -5,7 +5,6 @@ import com.gempukku.lotro.common.*; import com.gempukku.lotro.game.CardNotFoundException; import com.gempukku.lotro.game.PhysicalCardImpl; import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException; -import com.gempukku.lotro.logic.modifiers.MoveLimitModifier; import org.junit.Test; import java.util.HashMap; @@ -28,46 +27,44 @@ public class Card_14_015_Tests ); } - // Uncomment both @Test markers below once this is ready to be used - - //@Test + @Test public void UrukhaiScoutStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException { /** - * Set: 14 - * Title: Uruk-hai Scout - * Unique: False - * Side: SHADOW - * Culture: Uruk-hai - * Twilight Cost: 3 - * Type: minion - * Subtype: Uruk-hai - * Strength: 8 - * Vitality: 2 - * Site Number: 5 - * Game Text: Damage +1.
When you play this, choose one of the following keywords: battleground, mountain, plains, or underground. The fellowship's current site gains that keyword until the end of the turn. + * Set: 14 + * Name: Uruk-hai Scout + * Unique: False + * Side: Shadow + * Culture: Uruk-hai + * Twilight Cost: 3 + * Type: Minion + * Subtype: Uruk-hai + * Strength: 8 + * Vitality: 2 + * Site Number: 5 + * Game Text: Damage +1.
When you play this, choose one of the following keywords: battleground, mountain, plains, or underground. The fellowship's current site gains that keyword until the end of the turn. */ - //Pre-game setup var scn = GetScenario(); var card = scn.GetFreepsCard("card"); + assertEquals("Uruk-hai Scout", card.getBlueprint().getTitle()); + assertNull(card.getBlueprint().getSubtitle()); assertFalse(card.getBlueprint().isUnique()); assertEquals(Side.SHADOW, card.getBlueprint().getSide()); assertEquals(Culture.URUK_HAI, card.getBlueprint().getCulture()); assertEquals(CardType.MINION, card.getBlueprint().getCardType()); assertEquals(Race.URUK_HAI, card.getBlueprint().getRace()); - //assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.URUK-HAI)); - assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA)); + assertTrue(scn.HasKeyword(card, Keyword.DAMAGE)); + assertEquals(1, scn.GetKeywordCount(card, Keyword.DAMAGE)); assertEquals(3, card.getBlueprint().getTwilightCost()); assertEquals(8, card.getBlueprint().getStrength()); assertEquals(2, card.getBlueprint().getVitality()); - //assertEquals(, card.getBlueprint().getResistance()); - //assertEquals(Signet., card.getBlueprint().getSignet()); assertEquals(5, card.getBlueprint().getSiteNumber()); } + // Uncomment any @Test markers below once this is ready to be used //@Test public void UrukhaiScoutTest1() throws DecisionResultInvalidException, CardNotFoundException { //Pre-game setup