squiggle/__tests__/Parser__test.re

13 lines
334 B
ReasonML
Raw Normal View History

open Jest;
open Expect;
describe("Shape", () => {
describe("Parser", () => {
test("", () => {
2020-03-24 00:04:48 +00:00
let parsed1 = MathJsParser.fromString("mm(normal(0,1), normal(10,1))");
Js.log(parsed1 |> E.R.fmap(Jstat.toString));
Js.log(parsed1 |> E.R.fmap(Jstat.toShape(20)));
expect(1.0) |> toEqual(1.0);
})
})
});