mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
commit
4c5ea62cea
2 changed files with 31 additions and 4 deletions
|
|
@ -0,0 +1,26 @@
|
|||
package org.mage.test.cards.abilities.activated;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.permanent.Permanent;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class ChaosWandTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testChaosWant() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Chaos Wand");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 4);
|
||||
addCard(Zone.LIBRARY, playerB, "Blood Tithe");
|
||||
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{4}, {T}: ");
|
||||
setChoice(playerA, "Yes");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertLife(playerB, 17);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue