MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / staysPut

Function staysPut

test/compute-engine/fungrim-loader.test.ts:1558–1561  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

1556});
1557
1558describe('Phase 3: complex-guard rules under a real declaration (SYM P1-21)', () => {
1559 // A complex-guarded corpus rule (fungrim:072166, Arctan(iz) → i·Artanh(z),
1560 // whose only guard is a `type:complex` on the single wildcard) must fire
1561 // for a real/integer/rational-declared subject, exactly as it does for a
1562 // complex one — the pack treats RR/ZZ/QQ as finite-domain like CC.
1563 const fires = (decl: string): boolean => {
1564 const ce = new ComputeEngine();

Callers 1

Calls 3

exprMethod · 0.65
isSameMethod · 0.65
simplifyMethod · 0.65

Tested by

no test coverage detected