Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestTruth = []map[string]engine.Term{{}} TestOK = []map[string]engine.Term{{"OK": engine.Atom("true")}} TestFail = []map[string]engine.Term(nil) )
predefined test results
Functions ¶
Types ¶
type TestProlog ¶
type TestProlog struct {
*prolog.Interpreter
}
func NewTestProlog ¶
func NewTestProlog() *TestProlog
Click to show internal directories.
Click to hide internal directories.