mondo: refactor evaluate function into bits
This commit is contained in:
parent
a0fb8fb37f
commit
f2372e7a41
4 changed files with 45 additions and 36 deletions
|
|
@ -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'));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue