diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-08-14 18:09:22 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-08-14 18:09:22 +0200 |
commit | 8cb35b358563e5a81ad9e4aceb123b85222cf4cc (patch) | |
tree | 0d73eebfe29e7d90d4e0d6c5d40a36db75de3fdc /test/eu/equalparts/cardbase/sorting | |
parent | 78e369043f95e78b27c265f7eab4d766e54054f4 (diff) |
Implemented some more filtering tests, sorted out validation and exceptions
Diffstat (limited to 'test/eu/equalparts/cardbase/sorting')
-rw-r--r-- | test/eu/equalparts/cardbase/sorting/CardSortingTest.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/eu/equalparts/cardbase/sorting/CardSortingTest.java b/test/eu/equalparts/cardbase/sorting/CardSortingTest.java index 2e4f0e6..d576726 100644 --- a/test/eu/equalparts/cardbase/sorting/CardSortingTest.java +++ b/test/eu/equalparts/cardbase/sorting/CardSortingTest.java @@ -310,27 +310,6 @@ public class CardSortingTest { } @Test - public void sortByWatermark() throws Exception { - CardSorting.sortByField(testCards, "watermark"); - int i = 0; - String[] watermarks = { - "", - "", - "", - "", - "", - "", - "", - "Dimir", - }; - for (Card card : testCards) { - String watermark = card.watermark.get() != null ? card.watermark.get() : ""; - assertTrue(watermark + " should have been " + watermarks[i] + ", i = " + i, watermark.equals(watermarks[i])); - i++; - } - } - - @Test public void sortBySetCode() throws Exception { CardSorting.sortByField(testCards, "setCode"); int i = 0; |