mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Test for Issue 381.
This commit is contained in:
parent
262e00f26a
commit
5f6c8a46ae
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
package org.mage.test.cards.usedbyai;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestBase;
|
||||
|
||||
/**
|
||||
* @author ayratn
|
||||
*/
|
||||
public class SphinxOfJwarIsleTest extends CardTestBase {
|
||||
|
||||
/**
|
||||
* Issue 381: AI Sphinx of Jwar Isle Loop
|
||||
*
|
||||
* AI will continuously loop using Sphinx's 'look at top card' ability.
|
||||
* version: 0.8.1
|
||||
*
|
||||
* Doesn't reproduce.
|
||||
*/
|
||||
@Test
|
||||
public void testInfiniteLoopBug() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Sphinx of Jwar Isle");
|
||||
execute();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue