Added test case for incorrectly simplified rules with comparison.
This commit is contained in:
parent
58a0a9d074
commit
c8cd6fec48
@ -41,4 +41,12 @@ TEST_CASE("[simplification] Rules are simplified correctly", "[simplified]")
|
|||||||
|
|
||||||
REQUIRE(output.str() == "((not covered(I) and I in 1..n) -> #false)\n");
|
REQUIRE(output.str() == "((not covered(I) and I in 1..n) -> #false)\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SECTION("comparisons")
|
||||||
|
{
|
||||||
|
input << ":- M > N.";
|
||||||
|
anthem::translate("input", input, context);
|
||||||
|
|
||||||
|
REQUIRE(output.str() == "(M > N -> #false)\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user