diff options
Diffstat (limited to 'test/style/property_expression.test.cpp')
-rw-r--r-- | test/style/property_expression.test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/style/property_expression.test.cpp b/test/style/property_expression.test.cpp index 88096bab6b..ae85227bda 100644 --- a/test/style/property_expression.test.cpp +++ b/test/style/property_expression.test.cpp @@ -334,5 +334,9 @@ TEST(PropertyExpression, WithinExpression) { pointFeature = getPointFeature(Point<double>(-15.5126953125, -11.73830237143684)); evaluatedResult = propExpr.evaluate(EvaluationContext(&pointFeature).withCanonicalTileID(&canonicalTileID)); EXPECT_TRUE(evaluatedResult); + + pointFeature = getPointFeature(Point<double>(-5.9765625, -5.659718554577273)); + evaluatedResult = propExpr.evaluate(EvaluationContext(&pointFeature).withCanonicalTileID(&canonicalTileID)); + EXPECT_FALSE(evaluatedResult); } } |