mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[AVR] 2 cards, fix Cryptoplasm self-targeting, add test for it
This commit is contained in:
parent
a2dd822395
commit
e98f0c184a
4 changed files with 185 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue