That terminate and succeed. Then test that the following queries also terminate and succeed:
functor_spec(Term, Functor, Arity),
% Every permutation of the following goals
Term = <some term>,
Functor = <some term>,
Arity = <some term>.
And similarly for the other predicates provided here. Maybe then generalize for multiple calls to the predicate being tested, in different permutations, and to mixing different predicates together.
I want to create a program that systematically searches for queries of the form:
That terminate and succeed. Then test that the following queries also terminate and succeed:
And similarly for the other predicates provided here. Maybe then generalize for multiple calls to the predicate being tested, in different permutations, and to mixing different predicates together.