convert args to mapnik::geometry::geometry<std::int64_t> (VS2017)

This commit is contained in:
artemp 2017-07-06 16:03:28 +02:00
parent cd0c746a42
commit b632633373

View file

@ -129,8 +129,8 @@ TEST_CASE("Well-known-geometries")
geom_3.emplace_back(0,0); geom_3.emplace_back(0,0);
geom_3.emplace_back(1,1); geom_3.emplace_back(1,1);
geom_3.emplace_back(2,2); geom_3.emplace_back(2,2);
REQUIRE(mapnik::util::to_wkt(wkt0, geom_2)); REQUIRE(mapnik::util::to_wkt(wkt0, mapnik::geometry::geometry<std::int64_t>(geom_2)));
REQUIRE(mapnik::util::to_wkt(wkt1, geom_3)); REQUIRE(mapnik::util::to_wkt(wkt1, mapnik::geometry::geometry<std::int64_t>(geom_3)));
if (!mapnik::geometry::is_empty(geom_2) && !mapnik::geometry::is_empty(geom_3)) if (!mapnik::geometry::is_empty(geom_2) && !mapnik::geometry::is_empty(geom_3))
{ {
REQUIRE(wkt2 == wkt3); REQUIRE(wkt2 == wkt3);