Tests: added many verify checks for missing cards, names, numbers, download settings:

* check wrong card numbers in sets;
* check missing cards from set;
* check wrong full art settings;
* check missing and unknown sets in scryfall download settings;
* check missing and unknown direct download links in scryfall download settings;
* improved ability text check results;
* removed unused tests for word checks;
This commit is contained in:
Oleg Agafonov 2020-08-22 15:16:30 +04:00
parent b083dd48e6
commit 7aac355f4a
7 changed files with 533 additions and 128 deletions

View file

@ -77,6 +77,12 @@ public abstract class ExpansionSet implements Serializable {
public CardGraphicInfo getGraphicInfo() {
return this.graphicInfo;
}
public boolean isFullArt() {
return this.graphicInfo != null
&& this.graphicInfo.getFrameStyle() != null
&& this.graphicInfo.getFrameStyle().isFullArt();
}
}
protected final List<SetCardInfo> cards = new ArrayList<>();