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

Function atom

engine/seminaivebottomup_test.go:31–37  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

29)
30
31func atom(s string) ast.Atom {
32 term, err := parse.Term(s)
33 if err != nil {
34 panic(err)
35 }
36 return term.(ast.Atom)
37}
38
39func evalAtom(t *testing.T, str string) ast.Atom {
40 term, err := parse.Term(str)

Callers 15

TestShortestPathsFunction · 0.70
TestMapFunction · 0.70
TestReduceFunction · 0.70
TestGroupByFunction · 0.70
TestSingleDeltaRuleFunction · 0.70
TestRewriteIdempotencyFunction · 0.70
TestNegationFunction · 0.70
TestNegationOrderFunction · 0.70
TestMakeDeltaRulesFunction · 0.70
TestSimpleEvalFunction · 0.70
TestSimpleEvalDeferFunction · 0.70
TestManyPathsFunction · 0.70

Calls 1

TermFunction · 0.92

Tested by

no test coverage detected