-
LogicSchemaAssertions.assertThat(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate actual)
PredicateAssert.assertThat(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate actual)
Checks whether the actual predicate contains a derivation rule equivalent to expectedRule considering
that two derived ordinary literals are equivalent iff their definition rules are equivalent
Checks whether the actual predicate contains a derivation rule equivalent to expectedRule considering
that two derived ordinary literals are equivalent according to the given strategy.
PredicateAssert.isLogicallyEquivalentTo(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate expectedPredicate)
Two predicates P and Q are said to be equivalent iff any two atoms P(x) and Q(x), being x any possible
list of constants, P(x) and Q(x) evaluates the same on any possible database.