mirror of
https://github.com/correl/mage.git
synced 2025-01-11 11:05:23 +00:00
Merge pull request #3386 from drmDev/master
fixed test to deal with infinite loop check
This commit is contained in:
commit
af0eb13c13
1 changed files with 7 additions and 0 deletions
|
@ -114,6 +114,13 @@ public class WorldgorgerDragonTest extends CardTestPlayerBase {
|
|||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Volcanic Geyser", playerB, 22);
|
||||
setChoice(playerA, "X=20");
|
||||
|
||||
// not an infinite loop resulting in a draw
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
setChoice(playerA, "No");
|
||||
setChoice(playerB, "No");
|
||||
}
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
|
|
Loading…
Reference in a new issue