(s string)
| 33 | } |
| 34 | |
| 35 | func evalAtom(s string) ast.Atom { |
| 36 | term, err := parse.Term(s) |
| 37 | if err != nil { |
| 38 | panic(err) |
| 39 | } |
| 40 | eval, err := functional.EvalAtom(term.(ast.Atom), nil) |
| 41 | if err != nil { |
| 42 | panic(err) |
| 43 | } |
| 44 | return eval |
| 45 | } |
| 46 | |
| 47 | func TestAddContainsRemove(t *testing.T) { |
| 48 | for _, fs := range []FactStore{ |
no test coverage detected