topojson test - check bounding box is valid
This commit is contained in:
parent
0c2558c154
commit
f65fae66ba
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ TEST_CASE("topology")
|
||||||
for (auto const& geom : topo.geometries)
|
for (auto const& geom : topo.geometries)
|
||||||
{
|
{
|
||||||
mapnik::box2d<double> box = mapnik::util::apply_visitor(mapnik::topojson::bounding_box_visitor(topo), geom);
|
mapnik::box2d<double> box = mapnik::util::apply_visitor(mapnik::topojson::bounding_box_visitor(topo), geom);
|
||||||
//std::cerr << box << std::endl;
|
CHECK(box.valid());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue