[AVR] 2 cards, fix Cryptoplasm self-targeting, add test for it

This commit is contained in:
Loki 2012-05-17 00:21:22 +03:00
parent a2dd822395
commit e98f0c184a
4 changed files with 185 additions and 1 deletions

View file

@ -0,0 +1,21 @@
package org.mage.test.cards.copy;
import mage.Constants;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
public class CryptoplasmTest extends CardTestPlayerBase {
@Test
public void testTransform() {
addCard(Constants.Zone.BATTLEFIELD, playerA, "Cryptoplasm", 1);
addCard(Constants.Zone.BATTLEFIELD, playerA, "Craw Wurm", 1);
setStopAt(2, Constants.PhaseStep.END_TURN);
execute();
assertLife(playerA, 20);
assertLife(playerB, 20);
assertPermanentCount(playerA, "Craw Wurm", 2);
}
}