mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Added bouncing a crewed vehicle will uncrew it test
This commit is contained in:
parent
5ece29e5d7
commit
338baa546e
1 changed files with 23 additions and 0 deletions
|
@ -81,4 +81,27 @@ public class CrewTest extends CardTestPlayerBase {
|
||||||
assertType("Smuggler's Copter", CardType.CREATURE, "Vehicle");
|
assertType("Smuggler's Copter", CardType.CREATURE, "Vehicle");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testThatBouncingACrewedVehicleWillUncrewIt() {
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Smuggler's Copter", 1);
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Speedway Fanatic", 1);
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Island", 7);
|
||||||
|
addCard(Zone.HAND, playerA, "Evacuation", 1);
|
||||||
|
|
||||||
|
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Crew 1");
|
||||||
|
setChoice(playerA, "Speedway Fanatic");
|
||||||
|
|
||||||
|
// Return all creatures to there owners hands
|
||||||
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Evacuation");
|
||||||
|
|
||||||
|
// (Re)Cast Smugglers Copter
|
||||||
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Smuggler's Copter");
|
||||||
|
|
||||||
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
// Only crewed vehicles have card type creature
|
||||||
|
assertNotType("Smuggler's Copter", CardType.CREATURE);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue