From 46af9233a19f0f559f2cbfde54d9b40429c8c66f Mon Sep 17 00:00:00 2001 From: Ozzie Gooen Date: Sat, 2 Apr 2022 11:06:09 -0400 Subject: [PATCH] Fixed tests to use pointwiseAdd instead of .add --- .../ReducerInterface/ReducerInterface_Distribution_test.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res b/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res index f57a4d7b..55ae387c 100644 --- a/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res +++ b/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res @@ -17,8 +17,8 @@ describe("eval", () => { testEval("toSampleSet(normal(5,2), 100)", "Ok(Sample Set Distribution)") testEval("add(normal(5,2), normal(10,2))", "Ok(Normal(15,2.8284271247461903))") testEval("add(normal(5,2), lognormal(10,2))", "Ok(Sample Set Distribution)") - testEval("dotAdd(normal(5,2), lognormal(10,2))", "Ok(Point Set Distribution)") - testEval("dotAdd(normal(5,2), 3)", "Ok(Point Set Distribution)") + testEval("pointwiseAdd(normal(5,2), lognormal(10,2))", "Ok(Point Set Distribution)") + testEval("pointwiseAdd(normal(5,2), 3)", "Ok(Point Set Distribution)") testEval("add(normal(5,2), 3)", "Ok(Point Set Distribution)") testEval("add(3, normal(5,2))", "Ok(Point Set Distribution)") testEval("3+normal(5,2)", "Ok(Point Set Distribution)")