(ce: ComputeEngine, s: string)
| 27 | } |
| 28 | |
| 29 | function evalStr(ce: ComputeEngine, s: string): string { |
| 30 | // Prefer `.symbol` so boolean results read as `True`/`False` (the boxed |
| 31 | // boolean symbol's `toString()` is the quoted string `"True"`). |
| 32 | const r = ce.parse(s).evaluate(); |
| 33 | return r.symbol ?? r.toString(); |
| 34 | } |
| 35 | |
| 36 | describe('MathNet Tier-3 Task 4: Unicode operator glyphs', () => { |
| 37 | test('≡ (U+2261) parses as identity / congruence', () => { |
no test coverage detected