Fix failing floating point test

This commit is contained in:
Sam Nolan 2022-07-12 15:29:50 +10:00
parent fe5a42353e
commit ee14a47bd6

View File

@ -58,7 +58,7 @@ describe("eval on distribution functions", () => {
describe("subtract", () => {
testEval("10 - normal(5, 1)", "Ok(Normal(5,1))")
testEval("normal(5, 1) - 10", "Ok(Normal(-5,1))")
testEval("mean(1 - toPointSet(normal(5, 2)))", "Ok(-4.002309896304692)")
testEval("mean(1 - toPointSet(normal(5, 2)))", "Ok(-4.002309896304693)")
})
describe("multiply", () => {
testEval("normal(10, 2) * 2", "Ok(Normal(20,4))")