forked from External/mage
add tests for Doctor's companion
This commit is contained in:
parent
e3177d9bea
commit
61fe216569
1 changed files with 36 additions and 0 deletions
|
|
@ -107,6 +107,42 @@ public class CommanderDeckValidationTest extends MageTestPlayerBase {
|
|||
"Commanders with the 'Choose a Background' ability should be able to have a background as an additional commander");
|
||||
}
|
||||
|
||||
@Test()
|
||||
public void testDoctorsCompanion() {
|
||||
DeckTester deckTester = new DeckTester(new Commander());
|
||||
deckTester.addMaindeck("Plains", 98);
|
||||
|
||||
deckTester.addSideboard("The First Doctor", 1);
|
||||
deckTester.addSideboard("Barbara Wright", 1);
|
||||
|
||||
deckTester.validate("You can have two commanders if one is a Time Lord Doctor and the other has 'Doctor's companion'");
|
||||
}
|
||||
|
||||
@Test(expected = AssertionError.class)
|
||||
public void testDoctorsCompanion2() {
|
||||
DeckTester deckTester = new DeckTester(new Commander());
|
||||
deckTester.addMaindeck("Plains", 98);
|
||||
|
||||
deckTester.addSideboard("The First Doctor", 1);
|
||||
deckTester.addSideboard("Isamaru, Hound of Konda", 1);
|
||||
|
||||
deckTester.validate("You can't have two commanders if one is a Time Lord Doctor and the other doesn't have 'Doctor's companion'");
|
||||
}
|
||||
|
||||
@Test(expected = AssertionError.class)
|
||||
public void testDoctorsCompanion3() {
|
||||
DeckTester deckTester = new DeckTester(new Commander());
|
||||
deckTester.addMaindeck("Plains", 98);
|
||||
|
||||
deckTester.addSideboard("Mistform Ultimus", 1);
|
||||
deckTester.addSideboard("Barbara Wright", 1);
|
||||
|
||||
deckTester.validate(
|
||||
"You can't have two commanders if one has 'Doctor's companion' " +
|
||||
"but the other has additional creature types in addition to being a Time Lord Doctor"
|
||||
);
|
||||
}
|
||||
|
||||
@Test()
|
||||
public void testVehicles1() {
|
||||
DeckTester deckTester = new DeckTester(new Commander());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue