mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
add type checking
This commit is contained in:
parent
cb70af6f50
commit
97d60a940c
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
package org.mage.test.cards.planeswalker;
|
package org.mage.test.cards.planeswalker;
|
||||||
|
|
||||||
|
import mage.constants.CardType;
|
||||||
import mage.constants.PhaseStep;
|
import mage.constants.PhaseStep;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.counters.CounterType;
|
import mage.counters.CounterType;
|
||||||
|
@ -60,6 +61,8 @@ public class LilianaTest extends CardTestPlayerBase {
|
||||||
assertPermanentCount(playerA, wShepherd, 1);
|
assertPermanentCount(playerA, wShepherd, 1);
|
||||||
assertPermanentCount(playerB, yOx, 1);
|
assertPermanentCount(playerB, yOx, 1);
|
||||||
assertCounterCount(playerA, liliannaDM, CounterType.LOYALTY, 2);
|
assertCounterCount(playerA, liliannaDM, CounterType.LOYALTY, 2);
|
||||||
|
assertType(wShepherd, CardType.CREATURE, "Zombie"); // should have subtype zombie on top of angel type
|
||||||
|
assertType(wShepherd, CardType.CREATURE, "Angel");
|
||||||
assertTapped(yOx, true);
|
assertTapped(yOx, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue