(a: Json)
| 364 | // Rubi defines both the binary form EqQ[u,v] := PossibleZeroQ[u-v] and the |
| 365 | // unary form EqQ[u] := PossibleZeroQ[u]. The unary form appears in the |
| 366 | // corpus (1.2.1.4#11 NeQ[e²−4df], 1.2.4.2#4 EqQ[m+1/2]) and previously |
| 367 | // crashed the driver with "json is not iterable" (build(undefined)). |
| 368 | test('binary EqQ/NeQ compare two operands', () => { |
| 369 | expect(cond(['EqQ', 2, 2])).toBe(true); |