mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed tests with the updated spell descriptions in mind.
This commit is contained in:
@@ -99,7 +99,7 @@ public class SpellAbilityPickerTest extends SimulationTestCase {
|
|||||||
SpellAbilityPicker picker = new SpellAbilityPicker(game, p);
|
SpellAbilityPicker picker = new SpellAbilityPicker(game, p);
|
||||||
SpellAbility sa = picker.chooseSpellAbilityToPlay(null);
|
SpellAbility sa = picker.chooseSpellAbilityToPlay(null);
|
||||||
assertEquals(spell.getSpellAbilities().get(0), sa);
|
assertEquals(spell.getSpellAbilities().get(0), sa);
|
||||||
assertEquals("Dromar's Charm -> Target creature gets -2/-2 until end of turn", picker.getPlan().getDecisions().get(0).modesStr);
|
assertEquals("Dromar's Charm -> Target creature gets -2/-2 until end of turn.", picker.getPlan().getDecisions().get(0).modesStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testModeSelection2() {
|
public void testModeSelection2() {
|
||||||
@@ -118,7 +118,7 @@ public class SpellAbilityPickerTest extends SimulationTestCase {
|
|||||||
SpellAbilityPicker picker = new SpellAbilityPicker(game, p);
|
SpellAbilityPicker picker = new SpellAbilityPicker(game, p);
|
||||||
SpellAbility sa = picker.chooseSpellAbilityToPlay(null);
|
SpellAbility sa = picker.chooseSpellAbilityToPlay(null);
|
||||||
assertEquals(spell.getSpellAbilities().get(0), sa);
|
assertEquals(spell.getSpellAbilities().get(0), sa);
|
||||||
assertEquals("Dromar's Charm -> You gain 5 life;", picker.getPlan().getDecisions().get(0).modesStr);
|
assertEquals("Dromar's Charm -> You gain 5 life.", picker.getPlan().getDecisions().get(0).modesStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testMultipleModes() {
|
public void testMultipleModes() {
|
||||||
|
|||||||
Reference in New Issue
Block a user