You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/__test__/eval/eval.test.ts

9 lines
178 B

import { CheckExpr, eval2 } from "../../src/Common/eval";
test('eval', () =>
{
expect(CheckExpr("let l = 100;", {})).toBeTruthy();
expect(eval2("100n")).toBe(100);
});