{kb_local(COL/1)}, functorDeclares(COL), (t(COL,X)instanceOf(X,COL))). /*~ ~*/ ==> tType(tType). /*~ ~*/ ==> tType(tFly). /*~ ~*/ ==> tType(tCanary). /*~ ~*/ ==> tType(tPenguin). /*~ ~*/ ==> tType(tBird). /*~ ~*/ :- mpred_test(predicate_property(tBird(_),dynamic)). /*~ %~ ?-( mpred_test("Test_0001_Line_0000__tBird_1_in_user",user:predicate_property(tBird(Bird),dynamic))). passed=info(why_was_true(user:predicate_property(tBird(_438),dynamic))) no_proof_for(predicate_property(tBird(Bird1),dynamic)). no_proof_for(predicate_property(tBird(Bird1),dynamic)). no_proof_for(predicate_property(tBird(Bird1),dynamic)). name='logicmoo.pfc.test.sanity_base.BIRDS_01D-Test_0001_Line_0000__tBird_1_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.BIRDS_01D'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'birds_01d.pfc\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_BIRDS_01D_Test_0001_Line_0000_tBird_1_in_user-junit.xml ~*/ subClassOf(C1,C2)==> (instanceOf(X,C1)==>instanceOf(X,C2)). /*~ ~*/ :- dmsg("A cannary is a type of bird."). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/birds_01d.pfc:46 %~ A cannary is a type of bird. ~*/ ==> subClassOf(tCanary,tBird). /*~ ~*/ :- dmsg("A penguin is a type of bird."). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/birds_01d.pfc:48 %~ A penguin is a type of bird. ~*/ ==> subClassOf(tPenguin,tBird). /*~ ~*/ :- dmsg("Chilly is a penguin."). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/birds_01d.pfc:53 %~ Chilly is a penguin. ~*/ ==> tPenguin(iChilly). /*~ ~*/ :- dmsg("Make sure Chilly is a bird now."). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/birds_01d.pfc:56 %~ Make sure Chilly is a bird now. ~*/ :- mpred_test((tBird(iChilly))). /*~ %~ ?-( mpred_test("Test_0002_Line_0000__IChilly_in_user",user:tBird(iChilly))). passed=info(why_was_true(user:tBird(iChilly))) no_proof_for(tBird(iChilly)). no_proof_for(tBird(iChilly)). no_proof_for(tBird(iChilly)). name='logicmoo.pfc.test.sanity_base.BIRDS_01D-Test_0002_Line_0000__IChilly_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.BIRDS_01D'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins goal=user:tFly(iTweety). time=0.0004100799560546875. passed=passed=info(why_was_true(user:tFly(iTweety))) no_proof_for(tFly(iTweety)). no_proof_for(tFly(iTweety)). no_proof_for(tFly(iTweety)). result=passed. ]]>