mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
test for #4618
This commit is contained in:
parent
4a77ab1714
commit
c3e080141b
1 changed files with 22 additions and 0 deletions
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue