expression_test - add tests for arbitrary space in mapnik::geometry_type attributes

This commit is contained in:
artemp 2017-01-10 11:57:54 +01:00
parent 7326c0d558
commit 243963fc2b

View file

@ -125,9 +125,9 @@ TEST_CASE("expressions")
// geometry types
TRY_CHECK(eval(" [mapnik::geometry_type] = point ") == true);
TRY_CHECK(eval(" [mapnik::geometry_type] <> linestring ") == true);
TRY_CHECK(eval(" [mapnik::geometry_type] != polygon ") == true);
TRY_CHECK(eval(" [mapnik::geometry_type] neq collection ") == true);
TRY_CHECK(eval(" [ mapnik::geometry_type] <> linestring ") == true);
TRY_CHECK(eval(" [mapnik::geometry_type ] != polygon ") == true);
TRY_CHECK(eval(" [ mapnik::geometry_type ] neq collection ") == true);
TRY_CHECK(eval(" [mapnik::geometry_type] eq collection ") == false);
//unary expression