Skip to content

Commit 975cacb

Browse files
committed
test(arg-setaf): correct SetAfTheoryTest
After fixes to SetAfs in b289187 tests also needed to be corrected.
1 parent f74f0ff commit 975cacb

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

org-tweetyproject-arg-setaf/src/test/java/SetAfTheoryTest.java

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
* Copyright 2021 The TweetyProject Team <http://tweetyproject.org/contact/>
1818
*/
1919

20-
21-
22-
23-
import static org.junit.jupiter.api.Assertions.assertTrue;
20+
import static org.junit.jupiter.api.Assertions.assertEquals;
2421

2522
import java.util.HashSet;
2623
import java.util.Set;
@@ -36,6 +33,7 @@
3633
* Examples of SetAf Theorys and their semantics
3734
*
3835
* @author Sebastian Franke
36+
* @author Oleksandr Dzhychko
3937
*
4038
*/
4139
public class SetAfTheoryTest {
@@ -69,12 +67,10 @@ public void extensionTest() {
6967
String grS = gr.getModel(s).toString();
7068
String adS = ad.getModels(s).toString();
7169
String prS = pr.getModels(s).toString();
72-
73-
assertTrue(grS.equals("{b,d}"));
74-
assertTrue(adS.equals("[{b}, {d}, {b,d}, {}]"));
75-
assertTrue(prS.equals("[{b,d}]"));
76-
7770

71+
assertEquals("{b,c,d}", grS);
72+
assertEquals("[{b}, {d}, {b,d}, {b,c,d}, {}]", adS);
73+
assertEquals("[{b,c,d}]", prS);
7874
}
7975

8076
}

0 commit comments

Comments
 (0)