1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 01:01:05 -09:00
This commit is contained in:
igoudt 2018-03-15 09:34:13 +01:00
parent 4a77ab1714
commit c3e080141b

View file

@ -0,0 +1,22 @@
package org.mage.test.cards.cost.additional;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
public class PayXLifeTest extends CardTestPlayerBase {
@Test
public void testToxicDeluge() {
addCard(Zone.HAND, playerA, "Toxic Deluge");
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 5);
addCard(Zone.BATTLEFIELD, playerB, "Serra Angel");
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Toxic Deluge");
setChoice(playerA, "X=4");
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertLife(playerA, 16);
assertGraveyardCount(playerB, "Serra Angel", 1);
}
}