mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Divine Verdict test
This commit is contained in:
parent
bb962905bb
commit
47329e9ef9
1 changed files with 31 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
|||
package org.mage.test.cards.targets.attacking;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.Constants.PhaseStep;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author magenoxx_at_gmail.com
|
||||
*/
|
||||
public class DivineVerdictTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testAfterAttack() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
|
||||
addCard(Constants.Zone.HAND, playerA, "Divine Verdict");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Sejiri Merfolk");
|
||||
|
||||
attack(2, playerB, "Sejiri Merfolk");
|
||||
castSpell(2, PhaseStep.POSTCOMBAT_MAIN, playerA, "Divine Verdict", "Sejiri Merfolk");
|
||||
|
||||
setStopAt(2, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerB, "Sejiri Merfolk", 1);
|
||||
assertLife(playerA, 18);
|
||||
assertLife(playerB, 22);
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue