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

Function parse

test/compute-engine/latex-syntax/calculus.test.ts:3–6  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

1import { engine as ce, exprToString } from '../../utils';
2
3function parse(s: string) {
4 const expr = ce.parse(s);
5 return expr.toLatex() + '\n' + expr.toString() + '\n' + exprToString(expr);
6}
7
8/** Integrals with no limits specified */
9describe('INDEFINITE INTEGRAL', () => {

Callers 1

calculus.test.tsFile · 0.70

Calls 4

exprToStringFunction · 0.90
toLatexMethod · 0.80
parseMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected