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

Function stayInert

test/compute-engine/rubi-utils.test.ts:654–658  ·  view source on GitHub ↗
(latex: string)

Source from the content-addressed store, hash-verified

652 );
653 expect(r.has('x')).toBe(true);
654 expect(r.isSame(ce.box(['Divide', 1, ['Add', 1, ['Power', 'x', 2]]]))).toBe(true);
655 });
656
657 test('SubstFor for the tangent target maps tan → x', () => {
658 // SubstFor[1, Tan[x], tan³, x] → x³
659 const r = build(['SubstFor', 1, ['Tan', 'x'], ['Power', ['Tan', 'x'], 3], 'x'] as Json, ctx);
660 expect(r.isSame(ce.box(['Power', 'x', 3]))).toBe(true);
661 });

Callers 1

rubi-utils.test.tsFile · 0.85

Calls 3

parseMethod · 0.65
evaluateMethod · 0.65
boxMethod · 0.65

Tested by

no test coverage detected