mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Tests: fixed deck cards amount tests
This commit is contained in:
parent
74fb0acc75
commit
43655845e7
1 changed files with 4 additions and 12 deletions
|
@ -59,13 +59,9 @@ public class DeckValidatorTest extends MageTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testStandardValid() {
|
||||
public void testStandardDeckCardsAmountValid() {
|
||||
ArrayList<CardNameAmount> deck = new ArrayList<>();
|
||||
|
||||
deck.add(new CardNameAmount("MPS-AKH", 28, 4)); // Rhonas the Indomitable
|
||||
deck.add(new CardNameAmount("Built to Smash", 4));
|
||||
deck.add(new CardNameAmount("Heroic Intervention", 4));
|
||||
deck.add(new CardNameAmount("Mountain", 48));
|
||||
deck.add(new CardNameAmount("Mountain", 60));
|
||||
|
||||
DeckValidator validator = new Standard();
|
||||
boolean validationSuccessful = testDeckValid(validator, deck);
|
||||
|
@ -73,13 +69,9 @@ public class DeckValidatorTest extends MageTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testStandardNotValid() {
|
||||
public void testStandardDeckCardsAmountNotValid() {
|
||||
ArrayList<CardNameAmount> deck = new ArrayList<>();
|
||||
|
||||
deck.add(new CardNameAmount("MPS-AKH", 28, 4)); // Rhonas the Indomitable
|
||||
deck.add(new CardNameAmount("Built to Smash", 4));
|
||||
deck.add(new CardNameAmount("Heroic Intervention", 4));
|
||||
deck.add(new CardNameAmount("Mountain", 47));
|
||||
deck.add(new CardNameAmount("Mountain", 59));
|
||||
|
||||
ArrayList<CardNameAmount> sideboard = new ArrayList<>();
|
||||
sideboard.add(new CardNameAmount("Mountain", 16));
|
||||
|
|
Loading…
Reference in a new issue