From f65fae66ba73daad92e809e1c9585ea9086980e3 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 17 Mar 2016 14:22:29 +0100 Subject: [PATCH] topojson test - check bounding box is valid --- test/unit/datasource/topojson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/datasource/topojson.cpp b/test/unit/datasource/topojson.cpp index d9a5b5f86..6af81154a 100644 --- a/test/unit/datasource/topojson.cpp +++ b/test/unit/datasource/topojson.cpp @@ -61,7 +61,7 @@ TEST_CASE("topology") for (auto const& geom : topo.geometries) { mapnik::box2d box = mapnik::util::apply_visitor(mapnik::topojson::bounding_box_visitor(topo), geom); - //std::cerr << box << std::endl; + CHECK(box.valid()); } } }