mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
- Added test for Rebound ability. Fails. This was working in .83
This commit is contained in:
parent
9affdd1dcc
commit
2c80ed377d
1 changed files with 34 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package org.mage.test.cards.abilities.keywords;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jeff
|
||||
*/
|
||||
public class ReboundTest extends CardTestPlayerBase{
|
||||
|
||||
@Test
|
||||
public void testCastFromHandMovedToExile() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Island", 1);
|
||||
addCard(Constants.Zone.HAND, playerA, "Distortion Strike");
|
||||
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Memnite", 1);
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Distortion Strike");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
//check exile and graveyard
|
||||
|
||||
assertExileCount("Distortion Strike", 1);
|
||||
assertGraveyardCount(playerA, 0);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue