mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Added test for Oracle of Dust activated ability.
This commit is contained in:
parent
133f043411
commit
3d19637e85
1 changed files with 28 additions and 0 deletions
|
@ -72,4 +72,32 @@ public class PutToGraveyardTest extends CardTestPlayerBase {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* Oracle of Dust does not seem to actually move cards from exile into the
|
||||
* opponent's graveyard, even though every other part of the ability works
|
||||
* just fine.
|
||||
*/
|
||||
@Test
|
||||
public void testExileToGraveyard2() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 3);
|
||||
// Devoid
|
||||
// {2}, Put a card an opponent owns from exile into that player's graveyard: Draw a card, then discard a card.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Oracle of Dust", 1); // {4}{U}
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Silvercoat Lion");
|
||||
// Exile target creature. Its controller gains life equal to its power.
|
||||
addCard(Zone.HAND, playerA, "Swords to Plowshares");
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Swords to Plowshares", "Silvercoat Lion");
|
||||
|
||||
activateAbility(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "{2}");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerA, "Swords to Plowshares", 1);
|
||||
assertGraveyardCount(playerB, "Silvercoat Lion", 1);
|
||||
assertGraveyardCount(playerA, 2);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue