Uses of Class
edu.upc.fib.inlab.imp.kse.logics.logicschema.assertions.PredicateAssert
Packages that use PredicateAssert
-
Uses of PredicateAssert in edu.upc.fib.inlab.imp.kse.logics.logicschema.assertions
Methods in edu.upc.fib.inlab.imp.kse.logics.logicschema.assertions that return PredicateAssertModifier and TypeMethodDescriptionstatic PredicateAssertLogicSchemaAssertions.assertThat(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate actual) static PredicateAssertPredicateAssert.assertThat(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate actual) PredicateAssert.containsEquivalentDerivationRule(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.DerivationRule expectedRule) 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 equivalentPredicateAssert.containsEquivalentDerivationRule(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.DerivationRule expectedRule, LogicSchemaAssert.DerivedLiteralStrategy derivedLiteralsStrategy) 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.hasArity(int arity) PredicateAssert.hasDerivationRules(int expectedDerivationRulesCount) PredicateAssert.isDerived()PredicateAssert.isDerived(boolean expected) 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.