Actually enable 'is_empty' test + cleanup

This commit is contained in:
Artem Pavlenko 2024-02-26 16:25:40 +00:00
parent 38193817de
commit 5b08c21eb0

View file

@ -141,11 +141,7 @@ TEST_CASE("geojson")
std::string json(in);
mapnik::geometry::geometry<double> geom;
CHECK(mapnik::json::from_geojson(json, geom));
if (!mapnik::geometry::is_empty(geom))
{
std::cerr << json << std::endl;
}
// REQUIRE(mapnik::geometry::is_empty(geom));
REQUIRE(mapnik::geometry::is_empty(geom));
// round trip
std::string json_out;
CHECK(mapnik::util::to_geojson(json_out, geom));