You should use the stuff under "interactive testing"
For example, you could do:
(show () =fail)
and if it immediately prints
'fail
Then you did it correct.
You can then test how many successes you get by typing
(next)
Some number of times
Eventually once you make =find-some, it is best to use test-prolog.
Jay
On Thu, Dec 6, 2012 at 8:30 AM, Andrew Hurd <
andre...@gmail.com> wrote:
> Any general advice on testing prolog?
--
Jay McCarthy <
j...@cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93