mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Tests: fixed miss commands, fixed debug info for permanents on battlefield;
This commit is contained in:
parent
daed98fb0b
commit
f2ba76ca75
2 changed files with 7 additions and 0 deletions
|
@ -221,8 +221,10 @@ public class LayerTests extends CardTestPlayerBase {
|
|||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Island", 1);
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
// all lands are forests in addition to other types
|
||||
assertType("Plains", CardType.CREATURE, SubType.FOREST);
|
||||
|
|
|
@ -220,4 +220,9 @@ public class PermanentCard extends PermanentImpl {
|
|||
public Card getMainCard() {
|
||||
return card.getMainCard();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return card.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue