(a ast.Atom, bound ...ast.BaseTerm)
| 597 | } |
| 598 | |
| 599 | func makeSimpleDecl(a ast.Atom, bound ...ast.BaseTerm) ast.Decl { |
| 600 | return ast.Decl{ |
| 601 | DeclaredAtom: a, |
| 602 | Bounds: []ast.BoundDecl{{bound}}, |
| 603 | } |
| 604 | } |
| 605 | |
| 606 | func TestBoundsAnalyzer(t *testing.T) { |
| 607 | tests := []boundsTestCase{ |
no outgoing calls
no test coverage detected