Actually enable 'is_empty' test + cleanup
This commit is contained in:
parent
38193817de
commit
5b08c21eb0
1 changed files with 1 additions and 5 deletions
|
@ -141,11 +141,7 @@ TEST_CASE("geojson")
|
||||||
std::string json(in);
|
std::string json(in);
|
||||||
mapnik::geometry::geometry<double> geom;
|
mapnik::geometry::geometry<double> geom;
|
||||||
CHECK(mapnik::json::from_geojson(json, geom));
|
CHECK(mapnik::json::from_geojson(json, geom));
|
||||||
if (!mapnik::geometry::is_empty(geom))
|
REQUIRE(mapnik::geometry::is_empty(geom));
|
||||||
{
|
|
||||||
std::cerr << json << std::endl;
|
|
||||||
}
|
|
||||||
// REQUIRE(mapnik::geometry::is_empty(geom));
|
|
||||||
// round trip
|
// round trip
|
||||||
std::string json_out;
|
std::string json_out;
|
||||||
CHECK(mapnik::util::to_geojson(json_out, geom));
|
CHECK(mapnik::util::to_geojson(json_out, geom));
|
||||||
|
|
Loading…
Reference in a new issue