[RAV] Leave No Trace, 3 player reward cards

This commit is contained in:
Loki 2011-11-19 21:38:43 +04:00
parent 90116082ea
commit cd8f0ae2fe
5 changed files with 212 additions and 0 deletions

View file

@ -0,0 +1,30 @@
package org.mage.test.cards.destroy;
import mage.Constants;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestBase;
/**
* @author Loki
*/
public class LeaveNoTraceTest extends CardTestBase {
@Test
public void testDestroy() {
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
addCard(Constants.Zone.HAND, playerA, "Leave No Trace");
addCard(Constants.Zone.BATTLEFIELD, playerB, "Asceticism"); // Green
addCard(Constants.Zone.BATTLEFIELD, playerB, "Awakening Zone"); // Green
addCard(Constants.Zone.BATTLEFIELD, playerB, "Back from the Brink"); // Blue
castSpell(playerA, "Leave No Trace");
addFixedTarget(playerA, "Leave No Trace", "Asceticism");
execute();
assertPermanentCount(playerB, "Asceticism", 0);
assertPermanentCount(playerB, "Awakening Zone", 0);
assertPermanentCount(playerB, "Back from the Brink", 1);
}
}