(eq: string, opts?: { solve: boolean })
| 706 | /^fungrim:([0-9a-f]{6}|[a-z][a-z0-9]*(-[a-z0-9]+)+):solve$/ |
| 707 | ); |
| 708 | expect(r.guards).toEqual([]); |
| 709 | // Root-template shape: match is `Add(…, __b)`, an Add of the inner |
| 710 | // function term(s) and the constant offset. |
| 711 | expect(Array.isArray(r.match) && (r.match as unknown[])[0]).toBe('Add'); |
| 712 | } |
| 713 | // Default load skips them; {solve:true} routes them to ce.solveRules. |
| 714 | const ceDefault = new ComputeEngine(); |
| 715 | expect(loadIdentities(ceDefault).byTarget.solve).toBe(0); |
| 716 | |
| 717 | const ce = new ComputeEngine(); |
| 718 | const report = loadIdentities(ce, { solve: true }); |
no test coverage detected