mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Added a test to evolve tests.
This commit is contained in:
parent
3a59ca9465
commit
27b55b4e49
1 changed files with 29 additions and 0 deletions
|
@ -87,4 +87,33 @@ public class EvolveTest extends CardTestPlayerBase {
|
|||
assertPowerToughness(playerA, "Experiment One", 2, 2);
|
||||
assertPowerToughness(playerA, "Kird Ape", 2, 3);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testEvolveWithMasterBiomance() {
|
||||
|
||||
// Experiment One gets a counter because Kird Ape is 2/2 with a Forest in play
|
||||
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Forest", 1);
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Experiment One", 1);
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Master Biomancer", 1);
|
||||
|
||||
addCard(Constants.Zone.HAND, playerA, "Experiment One");
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Experiment One");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
|
||||
assertPermanentCount(playerA, "Experiment One", 2);
|
||||
assertPermanentCount(playerA, "Master Biomancer", 1);
|
||||
|
||||
// the first Experiment One get one counter from the second Experiment one that comes into play with two +1/+1 counters
|
||||
assertPowerToughness(playerA, "Experiment One", 2, 2);
|
||||
// the casted Experiment One got two counters from Master Biomancer
|
||||
assertPowerToughness(playerA, "Experiment One", 3, 3);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue