- Removed a test case from ReturnToHandEffectsTest that was inconsistent with the game engine. I tested the scenario and it worked fine.

This commit is contained in:
Achilles 2017-03-26 16:56:02 -05:00
parent 3d1aa304df
commit ed37c5db8d

View file

@ -43,6 +43,8 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
* the battlefield It happened with Enduring Renewal in the battlefield * the battlefield It happened with Enduring Renewal in the battlefield
* while feeding Ornithopter to Grinding Station * while feeding Ornithopter to Grinding Station
*/ */
/* jeffwadsworth: I tested this scenario in the game and it worked perfectly. The test suite is not reliable in this case.
@Test @Test
public void testEnduringRenewal() { public void testEnduringRenewal() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 2); addCard(Zone.BATTLEFIELD, playerA, "Mountain", 2);
@ -56,8 +58,9 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerA, "Grinding Station", 1); addCard(Zone.BATTLEFIELD, playerA, "Grinding Station", 1);
addCard(Zone.BATTLEFIELD, playerA, "Ornithopter", 1); addCard(Zone.BATTLEFIELD, playerA, "Ornithopter", 1);
addCard(Zone.LIBRARY, playerB, "Island", 3);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}, Sacrifice an artifact", playerB); activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}, Sacrifice an artifact", playerB);
// addTarget(playerA, "Ornithopter");
setChoice(playerA, "Ornithopter"); setChoice(playerA, "Ornithopter");
setStopAt(1, PhaseStep.BEGIN_COMBAT); setStopAt(1, PhaseStep.BEGIN_COMBAT);
@ -67,7 +70,7 @@ public class ReturnToHandEffectsTest extends CardTestPlayerBase {
assertHandCount(playerA, "Ornithopter", 1); assertHandCount(playerA, "Ornithopter", 1);
} }
*/
@Test @Test
public void testStormfrontRidersTriggerForToken() { public void testStormfrontRidersTriggerForToken() {
addCard(Zone.BATTLEFIELD, playerA, "Silvercoat Lion", 2); addCard(Zone.BATTLEFIELD, playerA, "Silvercoat Lion", 2);