topojson test - check bounding box is valid

This commit is contained in:
artemp 2016-03-17 14:22:29 +01:00
parent 0c2558c154
commit f65fae66ba

View file

@ -61,7 +61,7 @@ TEST_CASE("topology")
for (auto const& geom : topo.geometries)
{
mapnik::box2d<double> box = mapnik::util::apply_visitor(mapnik::topojson::bounding_box_visitor(topo), geom);
//std::cerr << box << std::endl;
CHECK(box.valid());
}
}
}