diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-08-12 00:06:14 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-08-12 00:06:14 +0200 |
commit | 0db469d9ae90ad5b72eb0c93952e9ecc68a6d4e7 (patch) | |
tree | a028bb627b40e617ca87a6c42e0c0cca1103e5a3 /test/eu/equalparts/cardbase | |
parent | c07d860f1d90dc3961b31c87dbe637dbcd87da76 (diff) |
Fixed minor issue with tests, should be passing now
Diffstat (limited to 'test/eu/equalparts/cardbase')
-rw-r--r-- | test/eu/equalparts/cardbase/filtering/CardFilteringTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java b/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java index c2ea71c..017e858 100644 --- a/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java +++ b/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java @@ -39,7 +39,7 @@ public class CardFilteringTest { CardFiltering.filterByField(testCards, "name", Filter.EQUALS, "Callow jushi"); assertEquals("Wrong list size.", 1, testCards.size()); - assertEquals("Callow Jushi", testCards.get(0).name); + assertEquals("Callow Jushi", testCards.get(0).name.get()); } @Test @@ -80,7 +80,7 @@ public class CardFilteringTest { CardFiltering.filterByField(testCards, "layout", Filter.EQUALS, "flip"); assertEquals("Wrong list size.", 1, testCards.size()); - assertEquals("Callow Jushi", testCards.get(0).name); + assertEquals("Callow Jushi", testCards.get(0).name.get()); } @Test @@ -110,7 +110,7 @@ public class CardFilteringTest { CardFiltering.filterByField(testCards, "layout", Filter.REGEX, "fl[a-z]p"); assertEquals("Wrong list size.", 1, testCards.size()); - assertEquals("Callow Jushi", testCards.get(0).name); + assertEquals("Callow Jushi", testCards.get(0).name.get()); } @Test @@ -118,7 +118,7 @@ public class CardFilteringTest { CardFiltering.filterByField(testCards, "manaCost", Filter.EQUALS, "{X}{U}{U}"); assertEquals("Wrong list size.", 1, testCards.size()); - assertEquals("Disrupting Shoal", testCards.get(0).name); + assertEquals("Disrupting Shoal", testCards.get(0).name.get()); } @Test @@ -143,7 +143,7 @@ public class CardFilteringTest { CardFiltering.filterByField(testCards, "manaCost", Filter.REGEX, "(\\{G\\}){8}"); assertEquals("Wrong list size.", 1, testCards.size()); - assertEquals("Khalni Hydra", testCards.get(0).name); + assertEquals("Khalni Hydra", testCards.get(0).name.get()); } @Test @@ -151,7 +151,7 @@ public class CardFilteringTest { CardFiltering.filterByField(testCards, "cmc", Filter.EQUALS, "5"); assertEquals("Wrong list size.", 1, testCards.size()); - assertEquals("Coerced Confession", testCards.get(0).name); + assertEquals("Coerced Confession", testCards.get(0).name.get()); } @Test |