diff options
author | zmiao <miao.zhao@mapbox.com> | 2020-03-04 23:15:53 +0200 |
---|---|---|
committer | zmiao <miao.zhao@mapbox.com> | 2020-03-05 20:53:16 +0200 |
commit | f23599c41de6f9e28773f30d6004af47c83863b5 (patch) | |
tree | 25a9c3ee5648c9a181491b6e7fcadc24220175b4 /test/style/property_expression.test.cpp | |
parent | aa0c9c267f1ab5abe9f9756e300f61edabac4a31 (diff) | |
download | qtlocation-mapboxgl-f23599c41de6f9e28773f30d6004af47c83863b5.tar.gz |
[core] Remove unnecessary intermediate PolygonFeature
Diffstat (limited to 'test/style/property_expression.test.cpp')
-rw-r--r-- | test/style/property_expression.test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/style/property_expression.test.cpp b/test/style/property_expression.test.cpp index ae85227bda..419aff30a2 100644 --- a/test/style/property_expression.test.cpp +++ b/test/style/property_expression.test.cpp @@ -335,7 +335,8 @@ TEST(PropertyExpression, WithinExpression) { evaluatedResult = propExpr.evaluate(EvaluationContext(&pointFeature).withCanonicalTileID(&canonicalTileID)); EXPECT_TRUE(evaluatedResult); - pointFeature = getPointFeature(Point<double>(-5.9765625, -5.659718554577273)); + // On the boundary + pointFeature = getPointFeature(Point<double>(3.076171875, -7.01366792756663)); evaluatedResult = propExpr.evaluate(EvaluationContext(&pointFeature).withCanonicalTileID(&canonicalTileID)); EXPECT_FALSE(evaluatedResult); } |