diff --git a/test/unit/serialization/wkb_test.cpp b/test/unit/serialization/wkb_test.cpp index fc2bce049..e31c5a9d7 100644 --- a/test/unit/serialization/wkb_test.cpp +++ b/test/unit/serialization/wkb_test.cpp @@ -59,6 +59,23 @@ struct spatially_equal_visitor return true; } + result_type operator()(mapnik::geometry::multi_line_string const& lhs, + mapnik::geometry::multi_line_string const& rhs) const + { + + std::size_t size0 = lhs.size(); + std::size_t size1 = rhs.size(); + if (size0 != size1) + return false; + + for (std::size_t index = 0; index < size0; ++index) + { + if (!boost::geometry::equals(lhs[index], rhs[index])) + return false; + } + return true; + } + template result_type operator()(T const& lhs, T const& rhs) const {