(preds []ast.PredicateSym)
| 83 | } |
| 84 | |
| 85 | func asMap(preds []ast.PredicateSym) map[ast.PredicateSym]ast.Decl { |
| 86 | m := make(map[ast.PredicateSym]ast.Decl, len(preds)) |
| 87 | for _, sym := range preds { |
| 88 | m[sym] = ast.NewSyntheticDeclFromSym(sym) |
| 89 | } |
| 90 | return m |
| 91 | } |
| 92 | |
| 93 | func analyzeAndEvalProgram(t *testing.T, clauses []ast.Clause, store factstore.SimpleInMemoryStore, options ...EvalOption) error { |
| 94 | t.Helper() |
no test coverage detected