mondo: refactor evaluate function into bits

This commit is contained in:
Felix Roos 2025-03-30 17:55:37 +02:00
parent a0fb8fb37f
commit f2372e7a41
No known key found for this signature in database
4 changed files with 45 additions and 36 deletions

View file

@ -150,6 +150,6 @@ describe('mondo arithmetic', () => {
}
return fn(...args);
}
const runner = new MondoRunner(evaluator);
const runner = new MondoRunner({ evaluator });
it('should desugar (.)', () => expect(runner.run('add 1 (mul 2 PI)').toFixed(2)).toEqual('7.28'));
});