mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Failing test for Issue#82: Torpor Orb doesn't work
This commit is contained in:
parent
b9554ac31a
commit
c203705535
1 changed files with 34 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
||||||
|
package org.mage.test.cards.replacement;
|
||||||
|
|
||||||
|
import mage.Constants;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Torpor Orb:
|
||||||
|
* Creatures entering the battlefield don't cause abilities to trigger.
|
||||||
|
*
|
||||||
|
* @author noxx
|
||||||
|
*/
|
||||||
|
public class TorporOrbTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testCard() {
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, playerA, "Torpor Orb");
|
||||||
|
addCard(Constants.Zone.HAND, playerA, "Wall of Omens");
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains", 2);
|
||||||
|
|
||||||
|
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Wall of Omens");
|
||||||
|
|
||||||
|
setStopAt(1, Constants.PhaseStep.END_TURN);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
assertLife(playerA, 20);
|
||||||
|
assertLife(playerB, 20);
|
||||||
|
|
||||||
|
assertPermanentCount(playerA, "Wall of Omens", 1);
|
||||||
|
assertPermanentCount(playerA, "Torpor Orb", 1);
|
||||||
|
assertHandCount(playerA, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue