mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
tests: fixed random fails
This commit is contained in:
parent
a9bdf2eb18
commit
e35911ad85
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ public class TestFrameworkCanPlayAITest extends CardTestPlayerBaseWithAIHelps {
|
|||
addCard(Zone.BATTLEFIELD, playerA, "Aven Trooper", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 3);
|
||||
addCard(Zone.HAND, playerA, "Mountain", 3);
|
||||
//
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Aggressive Mining", 1); // disable land play
|
||||
|
||||
// AI must play one time and make all choices on cast
|
||||
aiPlayPriority(1, PhaseStep.PRECOMBAT_MAIN, playerA);
|
||||
|
|
@ -70,6 +72,7 @@ public class TestFrameworkCanPlayAITest extends CardTestPlayerBaseWithAIHelps {
|
|||
execute();
|
||||
|
||||
assertPowerToughness(playerA, "Aven Trooper", 1 + 1, 1 + 2);
|
||||
assertGraveyardCount(playerA, "Mountain", 1); // discarded for cost
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue