Commit 5c27d73f authored by Sarah Grebing's avatar Sarah Grebing

fixed testcase

parent 62844d6d
Pipeline #39106 passed with stages
in 2 minutes and 37 seconds
...@@ -62,7 +62,7 @@ public class KeyMatcherFacadeTest { ...@@ -62,7 +62,7 @@ public class KeyMatcherFacadeTest {
@Test @Test
public void matchSeq() throws Exception { public void matchSeq() throws Exception {
//atm missing is catching the toplevel formula //atm missing is catching the toplevel formula
shouldMatch("pred(a), pred(b), a=b, a=c ==> pred(c)", "pred(?X), ?X=?Y ==> ", "[?X=a, ?Y=b}, {?X=a, ?Y=c}]"); shouldMatch("pred(a), pred(b), a=b, a=c ==> pred(c)", "pred(?X), ?X=?Y ==> ", "[{?X=a, ?Y=b}, {?X=a, ?Y=c}]");
shouldMatch("pred(a), pred(b), a=b, a=c ==> pred(c)", "pred(?X), ?X=?Y ==> pred(?Y)", "[{?X=a, ?Y=c}]"); shouldMatch("pred(a), pred(b), a=b, a=c ==> pred(c)", "pred(?X), ?X=?Y ==> pred(?Y)", "[{?X=a, ?Y=c}]");
shouldMatch("!q==>p,!p","!q ==> p", "[{}]"); shouldMatch("!q==>p,!p","!q ==> p", "[{}]");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment