mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Merge branch 'add-cockatrice-deck-format-5493' of github.com:hitch17/mage into add-cockatrice-deck-format-5493
This commit is contained in:
commit
1e6e279bc8
3 changed files with 6 additions and 5 deletions
|
@ -9,10 +9,10 @@ import mage.cards.decks.DeckCardLists;
|
|||
public class CodDeckImportTest {
|
||||
|
||||
private static final FakeCardLookup LOOKUP = new FakeCardLookup(false)
|
||||
.addCard("Forest")
|
||||
.addCard("Razorverge Thicket")
|
||||
.addCard("Avacyn's Pilgrim")
|
||||
.addCard("War Priest of Thune");
|
||||
.addCard("Forest")
|
||||
.addCard("Razorverge Thicket")
|
||||
.addCard("Avacyn's Pilgrim")
|
||||
.addCard("War Priest of Thune");
|
||||
|
||||
@Test
|
||||
public void testImport() {
|
||||
|
|
|
@ -29,7 +29,6 @@ public class FakeCardLookup extends CardLookup {
|
|||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<CardInfo> lookupCardInfo(String cardName) {
|
||||
CardInfo card = lookup.get(cardName);
|
||||
if (card != null) {
|
||||
|
|
|
@ -6,6 +6,8 @@ import java.util.ArrayList;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Assert;
|
||||
|
||||
import mage.cards.decks.DeckCardLists;
|
||||
|
||||
public class TestDeckChecker {
|
||||
|
|
Loading…
Reference in a new issue