From 23b6268a041016e30727829b42fe19bed87704a7 Mon Sep 17 00:00:00 2001 From: zmiao Date: Wed, 29 Apr 2020 11:02:02 +0300 Subject: [core] Distance expression: Refine logic --- test/style/property_expression.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/style/property_expression.test.cpp b/test/style/property_expression.test.cpp index aecbec18e3..faa59025b0 100644 --- a/test/style/property_expression.test.cpp +++ b/test/style/property_expression.test.cpp @@ -800,7 +800,7 @@ TEST(PropertyExpression, DistanceExpression) { const auto multiPolygonFeature = getFeature("multi_polygon_2.geojson", FeatureType::Polygon, canonicalTileID); auto evaluatedResult = propExpr.evaluate( EvaluationContext(&multiPolygonFeature).withCanonicalTileID(&canonicalTileID), invalidResult); - EXPECT_NEAR(41.632, evaluatedResult, 0.01); + EXPECT_NEAR(21.446, evaluatedResult, 0.01); } // Evaluation test with LineString/Polygon to Polygon distance with special cases -- cgit v1.2.1