Warning:
This wiki has been archived and is now read-only.
Factorial Functional
From RIF
| Test Type | PositiveEntailmentTest | ||||
|---|---|---|---|---|---|
| Contributor | Harold Boley | ||||
| Status | Approved | ||||
| Record | F2F13 | ||||
| Dialect | BLD | ||||
| Purpose | test ground equational call to factorial function | ||||
| Description | Factorial function using equality in the head to have function return value. This test case also demonstrates recursion and the use of mathematical built-in predicates and functions corresponding to >, -, and *. | ||||
| SeeAlso | Factorial Relational, Factorial Forward Chaining | ||||
| SpecRef | |||||
| Premises |
|
||||
| Conclusion |
|