mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
add tests for vehicles and spacecraft in commander
This commit is contained in:
parent
b8e23f2ed0
commit
284ae05e5d
1 changed files with 40 additions and 0 deletions
|
|
@ -106,4 +106,44 @@ public class CommanderDeckValidationTest extends MageTestPlayerBase {
|
||||||
deckTester.validate(
|
deckTester.validate(
|
||||||
"Commanders with the 'Choose a Background' ability should be able to have a background as an additional commander");
|
"Commanders with the 'Choose a Background' ability should be able to have a background as an additional commander");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test()
|
||||||
|
public void testVehicles1() {
|
||||||
|
DeckTester deckTester = new DeckTester(new Commander());
|
||||||
|
deckTester.addMaindeck("Plains", 99);
|
||||||
|
|
||||||
|
deckTester.addSideboard("Parhelion II", 1);
|
||||||
|
|
||||||
|
deckTester.validate("Legendary Vehicles should be able to be a commander");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test(expected = AssertionError.class)
|
||||||
|
public void testVehicles2() {
|
||||||
|
DeckTester deckTester = new DeckTester(new Commander());
|
||||||
|
deckTester.addMaindeck("Plains", 99);
|
||||||
|
|
||||||
|
deckTester.addSideboard("Dragonfly Suit", 1);
|
||||||
|
|
||||||
|
deckTester.validate("Nonlegendary Vehicles should not be able to be a commander");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test()
|
||||||
|
public void testSpacecraft1() {
|
||||||
|
DeckTester deckTester = new DeckTester(new Commander());
|
||||||
|
deckTester.addMaindeck("Plains", 99);
|
||||||
|
|
||||||
|
deckTester.addSideboard("The Seriema", 1);
|
||||||
|
|
||||||
|
deckTester.validate("Legendary Spacecraft should be able to be a commander if they can become a creature");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test(expected = AssertionError.class)
|
||||||
|
public void testSpacecraft2() {
|
||||||
|
DeckTester deckTester = new DeckTester(new Commander());
|
||||||
|
deckTester.addMaindeck("Wastes", 99);
|
||||||
|
|
||||||
|
deckTester.addSideboard("The Eternity Elevator", 1);
|
||||||
|
|
||||||
|
deckTester.validate("Legendary Spacecraft should not be able to be a commander if they can't become a creature");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue