Fixing existing unit tests. Fixing Towers Sam having 6 resistance.
This commit is contained in:
@@ -1042,7 +1042,7 @@
|
||||
strength: 3
|
||||
vitality: 4
|
||||
signet: Gandalf
|
||||
resistance: 6
|
||||
resistance: 5
|
||||
keywords: Ring-bound
|
||||
effects: [
|
||||
{
|
||||
|
||||
@@ -41,6 +41,7 @@ public class Card_01_007_Tests
|
||||
* Subtype: Dwarf
|
||||
* Strength: 4
|
||||
* Vitality: 2
|
||||
* Resistance: 6
|
||||
* Game Text: To play, spot a Dwarf.
|
||||
*/
|
||||
|
||||
@@ -58,6 +59,7 @@ public class Card_01_007_Tests
|
||||
assertEquals(1, card.getBlueprint().getTwilightCost());
|
||||
assertEquals(4, card.getBlueprint().getStrength());
|
||||
assertEquals(2, card.getBlueprint().getVitality());
|
||||
assertEquals(6, card.getBlueprint().getResistance());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -35,7 +35,7 @@ public class Card_01_011_Tests
|
||||
|
||||
/**
|
||||
* Set: 1
|
||||
* Title: Farin, Dwarven Emissary
|
||||
* Name: Farin, Dwarven Emissary
|
||||
* Unique: True
|
||||
* Side: Free Peoples
|
||||
* Culture: Dwarven
|
||||
@@ -46,6 +46,7 @@ public class Card_01_011_Tests
|
||||
* Vitality: 3
|
||||
* Game Text: To play, spot a Dwarf.
|
||||
* While skirmishing an Orc, Farin is strength +2.
|
||||
* Resistance: 6
|
||||
*/
|
||||
|
||||
var scn = GetScenario();
|
||||
@@ -62,6 +63,7 @@ public class Card_01_011_Tests
|
||||
assertEquals(2, card.getBlueprint().getTwilightCost());
|
||||
assertEquals(5, card.getBlueprint().getStrength());
|
||||
assertEquals(3, card.getBlueprint().getVitality());
|
||||
assertEquals(6, card.getBlueprint().getResistance());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -44,6 +44,7 @@ public class Card_01_012_Tests
|
||||
* Subtype: Dwarf
|
||||
* Strength: 6
|
||||
* Vitality: 3
|
||||
* Resistance: 6
|
||||
* Signet: Aragorn
|
||||
* Game Text: <b>Damage +1</b>
|
||||
* <b>Fellowship: </b> If the twilight pool has fewer than 2 twilight tokens, add (2) and place a card from hand beneath your draw deck.
|
||||
|
||||
@@ -33,6 +33,7 @@ public class Card_01_053_Tests
|
||||
/**
|
||||
* Set: 1
|
||||
* Name: Lórien Elf
|
||||
* Unique: False
|
||||
* Side: Free Peoples
|
||||
* Culture: Elven
|
||||
* Twilight Cost: 1
|
||||
@@ -40,6 +41,7 @@ public class Card_01_053_Tests
|
||||
* Subtype: Elf
|
||||
* Strength: 4
|
||||
* Vitality: 2
|
||||
* Resistance: 6
|
||||
* Game Text: To play, spot an Elf.
|
||||
*/
|
||||
|
||||
@@ -57,6 +59,7 @@ public class Card_01_053_Tests
|
||||
assertEquals(1, card.getBlueprint().getTwilightCost());
|
||||
assertEquals(4, card.getBlueprint().getStrength());
|
||||
assertEquals(2, card.getBlueprint().getVitality());
|
||||
assertEquals(6, card.getBlueprint().getResistance());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -35,7 +35,7 @@ public class Card_01_108_Tests
|
||||
/**
|
||||
* Set: 1
|
||||
* Name: No Stranger to the Shadows
|
||||
* Unique: True
|
||||
* Unique: False
|
||||
* Side: Free Peoples
|
||||
* Culture: Gondor
|
||||
* Twilight Cost: 0
|
||||
@@ -50,9 +50,9 @@ public class Card_01_108_Tests
|
||||
assertEquals("No Stranger to the Shadows", card.getBlueprint().getTitle());
|
||||
assertNull(card.getBlueprint().getSubtitle());
|
||||
assertFalse(card.getBlueprint().isUnique());
|
||||
assertEquals(CardType.CONDITION, card.getBlueprint().getCardType());
|
||||
assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide());
|
||||
assertEquals(Culture.GONDOR, card.getBlueprint().getCulture());
|
||||
assertEquals(CardType.CONDITION, card.getBlueprint().getCardType());
|
||||
assertEquals(0, card.getBlueprint().getTwilightCost());
|
||||
}
|
||||
|
||||
|
||||
@@ -42,13 +42,13 @@ public class Card_01_234_Tests
|
||||
|
||||
/**
|
||||
* Set: 1
|
||||
* Title: Ulaire Nertea, Messenger of Dol Guldur
|
||||
* Name: Úlairë Nertëa, Messenger of Dol Guldur
|
||||
* Unique: True
|
||||
* Side: Shadow
|
||||
* Culture: Ringwraith
|
||||
* Twilight Cost: 4
|
||||
* Type: Minion
|
||||
* Subtype: Nazgul
|
||||
* Subtype: Nazgûl
|
||||
* Strength: 9
|
||||
* Vitality: 2
|
||||
* Site Number: 3
|
||||
|
||||
@@ -80,6 +80,9 @@ public class Card_01_295_Tests
|
||||
* Race: Hobbit
|
||||
* Game Text: While you can spot your site 1, this ally has the game text of that site.
|
||||
* Fellowship: Exert this ally and spot your opponent's site 1 to replace it with your site 1.
|
||||
* Strength: 2
|
||||
* Vitality: 2
|
||||
* Site Number: 1
|
||||
*/
|
||||
|
||||
var scn = GetScenario();
|
||||
|
||||
@@ -43,13 +43,13 @@ public class Card_17_140_Tests
|
||||
|
||||
/**
|
||||
* Set: 17
|
||||
* Title: Ulaire Enquea
|
||||
* Subtitle: Duplicitous Lieutenant
|
||||
* Name: Úlairë Enquëa, Duplicitous Lieutenant
|
||||
* Unique: True
|
||||
* Side: Shadow
|
||||
* Culture: Wraith
|
||||
* Twilight Cost: 6
|
||||
* Type: Minion
|
||||
* Race: Nazgul
|
||||
* Subtype: Nazgûl
|
||||
* Strength: 11
|
||||
* Vitality: 4
|
||||
* Site: 3
|
||||
|
||||
@@ -64,7 +64,7 @@ public class Card_07_359_ErrataTests
|
||||
//assertEquals(, card.getBlueprint().getResistance());
|
||||
//assertEquals(Signet., card.getBlueprint().getSignet());
|
||||
assertEquals(8, card.getBlueprint().getSiteNumber()); // Change this to getAllyHomeSiteNumbers for allies
|
||||
Assert.assertEquals(SitesBlock.KING, card.getBlueprint().getSiteBlock());
|
||||
assertEquals(SitesBlock.KING, card.getBlueprint().getSiteBlock());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user