Test for Issue 381.

This commit is contained in:
magenoxx 2011-11-16 15:00:44 +04:00
parent 262e00f26a
commit 5f6c8a46ae

View file

@ -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();
}
}