mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed tests
This commit is contained in:
parent
712af3152a
commit
9652d83aec
3 changed files with 6 additions and 4 deletions
|
@ -414,6 +414,7 @@ public class ScryfallImageSupportCards {
|
||||||
add("PSS3"); // M19 Standard Showdown
|
add("PSS3"); // M19 Standard Showdown
|
||||||
add("M19"); // Core Set 2019
|
add("M19"); // Core Set 2019
|
||||||
add("ANA"); // Arena New Player Experience
|
add("ANA"); // Arena New Player Experience
|
||||||
|
add("XANA"); // Arena New Player Experience Extras
|
||||||
add("PS18"); // San Diego Comic-Con 2018
|
add("PS18"); // San Diego Comic-Con 2018
|
||||||
//add("HTR17"); // Heroes of the Realm 2017
|
//add("HTR17"); // Heroes of the Realm 2017
|
||||||
add("C18"); // Commander 2018
|
add("C18"); // Commander 2018
|
||||||
|
|
|
@ -18,7 +18,7 @@ public final class ArenaNewPlayerExperience extends ExpansionSet {
|
||||||
private ArenaNewPlayerExperience() {
|
private ArenaNewPlayerExperience() {
|
||||||
super("Arena New Player Experience", "ANA", ExpansionSet.buildDate(2018, 7, 14), SetType.MAGIC_ONLINE);
|
super("Arena New Player Experience", "ANA", ExpansionSet.buildDate(2018, 7, 14), SetType.MAGIC_ONLINE);
|
||||||
this.hasBoosters = false;
|
this.hasBoosters = false;
|
||||||
this.hasBasicLands = false;
|
this.hasBasicLands = true;
|
||||||
|
|
||||||
cards.add(new SetCardInfo("Angelic Reward", 1, Rarity.UNCOMMON, mage.cards.a.AngelicReward.class));
|
cards.add(new SetCardInfo("Angelic Reward", 1, Rarity.UNCOMMON, mage.cards.a.AngelicReward.class));
|
||||||
cards.add(new SetCardInfo("Confront the Assault", 3, Rarity.UNCOMMON, mage.cards.c.ConfrontTheAssault.class));
|
cards.add(new SetCardInfo("Confront the Assault", 3, Rarity.UNCOMMON, mage.cards.c.ConfrontTheAssault.class));
|
||||||
|
|
|
@ -391,10 +391,11 @@ public class VerifyCardDataTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// unique cards stats
|
|
||||||
errorsList.add("Total unique cards: " + classesIndex.size() + ", total non unique cards (reprints): " + totalCards);
|
|
||||||
|
|
||||||
printMessages(errorsList);
|
printMessages(errorsList);
|
||||||
|
|
||||||
|
// unique cards stats
|
||||||
|
System.out.println("Total unique cards: " + classesIndex.size() + ", total non unique cards (reprints): " + totalCards);
|
||||||
|
|
||||||
if (errorsList.size() > 0) {
|
if (errorsList.size() > 0) {
|
||||||
Assert.fail("DB has wrong card classes, found errors: " + errorsList.size());
|
Assert.fail("DB has wrong card classes, found errors: " + errorsList.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue