📄 fldval50.exp
字号:
TESTING CLIPS - BASIC PROGRAMMING GUIDEcommon capabilities such as:assert, retract, salience, fprintoutare exercised all through the testliteral pattern matching successfulmulti-and-single-field-wildcard should fire six timesmulti-and-single-field-wildcard should fire six timesmulti-and-single-field-wildcard should fire six timesmulti-and-single-field-wildcard should fire six timesmulti-and-single-field-wildcard should fire six timesmulti-and-single-field-wildcard should fire six timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-multi-field-wildcard should fire eighteen timesmulti-single-field-wildcard should fire four timesmulti-single-field-wildcard should fire four timesmulti-single-field-wildcard should fire four timesmulti-single-field-wildcard should fire four timesmulti-field-wildcard should fire five timesmulti-field-wildcard should fire five timesmulti-field-wildcard should fire five timesmulti-field-wildcard should fire five timesmulti-field-wildcard should fire five timessingle-field-wildcard should fire three timessingle-field-wildcard should fire three timessingle-field-wildcard should fire three timesmulti-field-and-literal-field should fire six timesmulti-field-and-literal-field should fire six timesmulti-field-and-literal-field should fire six timesmulti-field-and-literal-field should fire six timesmulti-field-and-literal-field should fire six timesmulti-field-and-literal-field should fire six timessingle-and-multi-field-variable-single-pattern should fire four timessingle-and-multi-field-variable-single-pattern should fire four timessingle-and-multi-field-variable-single-pattern should fire four timessingle-and-multi-field-variable-single-pattern should fire four timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-multi-field-variable-single-pattern should fire ten timesmulti-single-variable-single-pattern should fire four timesmulti-single-variable-single-pattern should fire four timesmulti-single-variable-single-pattern should fire four timesmulti-single-variable-single-pattern should fire four timesmulti-field-variable-single-pattern should fire five timesmulti-field-variable-single-pattern should fire five timesmulti-field-variable-single-pattern should fire five timesmulti-field-variable-single-pattern should fire five timesmulti-field-variable-single-pattern should fire five timessingle-variable-single-pattern should fire three timessingle-variable-single-pattern should fire three timessingle-variable-single-pattern should fire three timesmulti-field-variable-multiple-patterns should fire three timesmulti-field-variable-multiple-patterns should fire three timesmulti-field-variable-multiple-patterns should fire three timessingle-field-variable-multiple-patterns should fire twicesingle-field-variable-multiple-patterns should fire twicenot-with-no-variable-assignment should fire three timesnot-with-no-variable-assignment should fire three timesnot-with-no-variable-assignment should fire three timesor-with-no-variable-assignment should fire twiceor-with-no-variable-assignment should fire twicenot-and-with-no-variable-assignment should fire twice not-and-with-no-variable-assignment should fire twice not-or-and-with-no-variable-assignment should fire twice not-or-and-with-no-variable-assignment should fire twice not-with-variable-assignment should fire three times not-with-variable-assignment should fire three times not-with-variable-assignment should fire three times or-with-variable-assignment should fire twiceor-with-variable-assignment should fire twicenot-with-variable-assignment-multiple-patterns should fire onceor-with-variable-assignment-multiple-patterns should fire twiceor-with-variable-assignment-multiple-patterns should fire twicepredicate-function-numberp should fire five times predicate-function-numberp should fire five times predicate-function-numberp should fire five times predicate-function-numberp should fire five times predicate-function-numberp should fire five times predicate-function-evenp should fire twicepredicate-function-evenp should fire twicepredicate-function-oddp should fire twicepredicate-function-oddp should fire twicepredicate-function-stringp should fire oncepredicate-function-wordp should fire oncepredicate-function-integerp should fire four timespredicate-function-integerp should fire four timespredicate-function-integerp should fire four timespredicate-function-integerp should fire four timesexternal-functions-logical-operators should fire four timesexternal-functions-logical-operators should fire four timesexternal-functions-logical-operators should fire four timesexternal-functions-logical-operators should fire four timesconstraining-functions-vertical should fire twice constraining-functions-vertical should fire twice constraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesconstraining-functions-not-vertical should fire ten timesslope-of-line-negative-test-function should fire four timesslope-of-line-negative-test-function should fire four timesslope-of-line-negative-test-function should fire four timesslope-of-line-negative-test-function should fire four timesslope-of-line-positive-test-function fire four timesslope-of-line-positive-test-function fire four timesslope-of-line-positive-test-function fire four timesslope-of-line-positive-test-function fire four timesfact-address-test-function should fire seven timesfact-address-test-function should fire seven timesfact-address-test-function should fire seven timesfact-address-test-function should fire seven timesfact-address-test-function should fire seven timesfact-address-test-function should fire seven timesfact-address-test-function should fire seven timesor-not-nested-constraining-patterns should fire three timesor-not-nested-constraining-patterns should fire three timesor-not-nested-constraining-patterns should fire three timesmultiple-ors-constraining-patterns should fire four timesmultiple-ors-constraining-patterns should fire four timesmultiple-ors-constraining-patterns should fire four timesmultiple-ors-constraining-patterns should fire four timesnested-ors-constraining-patterns should fire four timesnested-ors-constraining-patterns should fire four timesnested-ors-constraining-patterns should fire four timesnested-ors-constraining-patterns should fire four timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesnested-ands-or-not-constraining-patterns should fire ten timesEnter the number 7: 7retract by fact number test successfulassert using external functions and assert-string tests successfultesting halt functionenter the (run) commmand to continueCLIPS> (progn (run) (dribble-off))open, close, readline, bind and assert-string tests successfullength, member nth and multifield tests successfulsubset, str-cat, str-index, sub_string, setgen, gensym, if then else and while tests successfullist of facts that were not cleaned up, error if anyfile text.tmp may be deletedCLIPS TESTING COMPLETED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -