diff --git a/util/fncs/geo_test.go b/util/fncs/geo_test.go index 3ddd0432..c32997d1 100644 --- a/util/fncs/geo_test.go +++ b/util/fncs/geo_test.go @@ -60,7 +60,7 @@ func TestGeo(t *testing.T) { Convey("geo.distance(a, b, c, d) works properly", t, func() { res, _ = Run(context.Background(), "geo.distance", &sql.Point{38.898556, -77.037852}, &sql.Point{38.897147, -77.043934}) - So(res, ShouldEqual, 549.1557912048178) + So(res, ShouldEqual, 549.1557912042738) }) Convey("geo.distance(a, b, c, d) errors properly", t, func() { diff --git a/util/fncs/math_test.go b/util/fncs/math_test.go index dfdef0f4..bca78b09 100644 --- a/util/fncs/math_test.go +++ b/util/fncs/math_test.go @@ -104,7 +104,7 @@ func TestMath(t *testing.T) { res, _ = Run(context.Background(), "math.geometricmean", 10) So(res, ShouldEqual, 10) res, _ = Run(context.Background(), "math.geometricmean", test) - So(res, ShouldEqual, 2.621805397514041) + So(res, ShouldEqual, 2.6218053975140414) }) Convey("math.harmonicmean() works properly", t, func() {