Create unit tests

This commit is contained in:
Alexsandro 2017-03-22 13:09:49 -03:00
parent a6e1c1a37d
commit bfb2b07ba6
2 changed files with 34 additions and 2 deletions

View file

@ -0,0 +1,25 @@
package org.mage.test.cards.abilities.oneshot.damage;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
* Created by Alexsandr0x.
*/
public class CitadelOfPainTest extends CardTestPlayerBase {
@Test
public void testDamage() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
// At the beginning of each player's end step, Citadel of Pain deals X damage to that
// player, where X is the number of untapped lands he or she controls.
addCard(Zone.BATTLEFIELD, playerA, "Citadel of Pain");
setStopAt(3, PhaseStep.END_TURN);
execute();
assertLife(playerA, 17);
}
}