(str string)
| 26 | ) |
| 27 | |
| 28 | func clause(str string) ast.Clause { |
| 29 | clause, err := parse.Clause(str) |
| 30 | if err != nil { |
| 31 | panic(fmt.Errorf("bad syntax in test case: %s got %w", str, err)) |
| 32 | } |
| 33 | return clause |
| 34 | } |
| 35 | |
| 36 | func toOrderMap(predToStratum map[ast.PredicateSym]int) map[int][]ast.PredicateSym { |
| 37 | unsorted := make(map[int][]ast.PredicateSym) |
no test coverage detected