(expr: string)
| 1 | import { engine } from '../utils'; |
| 2 | import { ComputeEngine } from '../../src/compute-engine'; |
| 3 | |
| 4 | function evaluate(expr: string): string { |
| 5 | return engine.parse(expr).evaluate().toString(); |
| 6 | } |
| 7 | function N(expr: string): number { |
| 8 | const result = engine.parse(expr).N(); |
no test coverage detected