.size());
}
protected void testEqualityAndSubstitutionAxiomsKBabcdPFFASucceeds(
InferenceProcedure infp, boolean expectedToTimeOut) {
FOLKnowledgeBase akb = FOLKnowledgeBaseFactory
.createABCDEqualityAndSubstitutionKnowledgeBase(infp, true);
List<Term> terms = new ArrayList<Term>();
terms.add(new Constant("A"));
Function fa = new Function("F", terms);
terms = new ArrayList<Term>();
terms.add(fa);
Function ffa = new Function("F", terms);
terms = new ArrayList<Term>();
terms.add(ffa);
Predicate query = new Predicate("P", terms);
InferenceResult answer = akb.ask(query);
if (expectedToTimeOut) {
Assert.assertFalse(answer.isPossiblyFalse());
Assert.assertFalse(answer.isTrue());
Assert.assertTrue(answer.isUnknownDueToTimeout());