mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
[ZNR] added currently failing test for Ashaya, Soul of the Wild and Volrath's Shapeshifter (#7812)
This commit is contained in:
parent
3af0f30195
commit
f68ed68034
1 changed files with 26 additions and 0 deletions
|
@ -5,6 +5,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.PhaseStep;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
|
@ -17,6 +18,7 @@ public class AshayaSoulOfTheWildTest extends CardTestPlayerBase {
|
|||
private static final String bear = "Grizzly Bears";
|
||||
private static final String forest = "Forest";
|
||||
private static final String transformation = "Kenrith's Transformation";
|
||||
private static final String shapeshifter = "Volrath's Shapeshifter";
|
||||
|
||||
@Test
|
||||
public void testAshaya() {
|
||||
|
@ -71,4 +73,28 @@ public class AshayaSoulOfTheWildTest extends CardTestPlayerBase {
|
|||
assertType(bear, CardType.CREATURE, SubType.BEAR);
|
||||
assertAbility(playerA, bear, new GreenManaAbility(), true);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void testAshayaVolrathsShapeshifter() {
|
||||
// TODO: currently failing due to ashaya ability not applying despite being added on lower layer
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Island", 3);
|
||||
addCard(Zone.BATTLEFIELD, playerA, bear);
|
||||
addCard(Zone.HAND, playerA, shapeshifter);
|
||||
addCard(Zone.GRAVEYARD, playerA, ashaya);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, shapeshifter);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertType(ashaya, CardType.LAND, SubType.FOREST); // fails
|
||||
assertType(ashaya, CardType.CREATURE, SubType.ELEMENTAL);
|
||||
assertAbility(playerA, ashaya, new GreenManaAbility(), true); // fails
|
||||
assertPowerToughness(playerA, ashaya, 3 + 1 + 1, 3 + 1 + 1); // fails
|
||||
|
||||
assertType(bear, CardType.LAND, SubType.FOREST); // fails
|
||||
assertType(bear, CardType.CREATURE, SubType.BEAR);
|
||||
assertAbility(playerA, bear, new GreenManaAbility(), true); // fails
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue