MCPcopy
hub / github.com/google/mangle / analyzeAndEvalProgram

Function analyzeAndEvalProgram

engine/seminaivebottomup_test.go:93–96  ·  view source on GitHub ↗
(t *testing.T, clauses []ast.Clause, store factstore.SimpleInMemoryStore, options ...EvalOption)

Source from the content-addressed store, hash-verified

91}
92
93func analyzeAndEvalProgram(t *testing.T, clauses []ast.Clause, store factstore.SimpleInMemoryStore, options ...EvalOption) error {
94 t.Helper()
95 return analyzeAndEvalProgramWithDecls(t, clauses, nil, store, options...)
96}
97
98// analyzeAndEvalProgram analyzes and evaluates a given program on the given facts, modifying the
99// fact store in the process.

Callers 15

TestNegationFunction · 0.85
TestNegationOrderFunction · 0.85
TestSimpleEvalFunction · 0.85
TestSimpleEvalDeferFunction · 0.85
TestManyPathsFunction · 0.85
TestNonLinearFunction · 0.85
TestBuiltinFunction · 0.85
TestListMapStructFunction · 0.85
TestTransformFunction · 0.85
TestCreatedFactLimitFunction · 0.85
TestTransformFibFunction · 0.85

Calls 1

Tested by

no test coverage detected