This commit is contained in:
BetaSteward 2012-02-23 15:30:11 -05:00
parent 142207ce86
commit 8e7e111fb9
5 changed files with 523 additions and 0 deletions

View file

@ -0,0 +1,26 @@
package org.mage.test.cards;
import mage.Constants;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
*
* @author BetaSteward
*/
public class TestHomicidalBrute extends CardTestPlayerBase {
@Test
public void testCard() {
addCard(Constants.Zone.BATTLEFIELD, playerA, "Civilized Scholar");
setStopAt(2, Constants.PhaseStep.BEGIN_COMBAT);
execute();
assertLife(playerA, 20);
assertLife(playerB, 20);
assertPermanentCount(playerA, "Civilized Scholar", 0);
assertPermanentCount(playerA, "Homicidal Brute", 1);
}
}

View file

@ -0,0 +1,28 @@
package org.mage.test.cards;
import mage.Constants;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
*
* @author BetaSteward
*/
public class TestWerewolfRansacker extends CardTestPlayerBase {
@Test
public void testCard() {
addCard(Constants.Zone.BATTLEFIELD, playerA, "Afflicted Deserter");
addCard(Constants.Zone.BATTLEFIELD, playerB, "Ornithopter");
setStopAt(2, Constants.PhaseStep.BEGIN_COMBAT);
execute();
assertLife(playerA, 20);
assertLife(playerB, 20);
assertPermanentCount(playerB, "Ornithopter", 0);
assertPermanentCount(playerA, "Afflicted Deserter", 0);
assertPermanentCount(playerA, "Werewolf Ransacker", 1);
}
}