(str string)
| 32 | var testCases embed.FS |
| 33 | |
| 34 | func name(str string) ast.Constant { |
| 35 | n, err := ast.Name(str) |
| 36 | if err != nil { |
| 37 | panic(fmt.Errorf("bad name in test case: %s got %w", str, err)) |
| 38 | } |
| 39 | return n |
| 40 | } |
| 41 | |
| 42 | func fml(str string) ast.Term { |
| 43 | t, err := parse.LiteralOrFormula(str) |
no test coverage detected