use of de.be4.classicalb.core.parser.node.ADisjunctPredicate in project probparsers by bendisposto.
the class ASTPrologTest method testTrueFalse.
@Test
public void testTrueFalse() throws BCompoundException {
checkPredicate("TRUE : BOOL", "member($,boolean_true($),bool_set($))");
checkPredicate("FALSE : BOOL", "member($,boolean_false($),bool_set($))");
final ADisjunctPredicate disjunction = new ADisjunctPredicate();
disjunction.setLeft(new ATruthPredicate());
disjunction.setRight(new AFalsityPredicate());
checkAST(0, "disjunct($,truth($),falsity($))", disjunction);
}
Aggregations