mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Tests: added todo test for AI's playerMustBeAttackedIfAble (#4496)
This commit is contained in:
parent
f238118c87
commit
0bb735b482
1 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
package org.mage.test.cards.continuous;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author JayDi85
|
||||
*/
|
||||
public class TroveOfTemptationTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
@Ignore // TODO: 2019-04-28 - improve and uncomment test after computer player can process playerMustBeAttackedIfAble restriction
|
||||
public void test_SingleOpponentMustAttack() {
|
||||
// Each opponent must attack you or a planeswalker you control with at least one creature each combat if able.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Trove of Temptation");
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Balduvian Bears", 1); // 2/2
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Ashcoat Bear", 1); // 2/2
|
||||
|
||||
setStopAt(2, PhaseStep.END_TURN);
|
||||
setStrictChooseMode(true);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue