diff --git a/test/algorithms/disjoint_coverage.cpp b/test/algorithms/disjoint_coverage.cpp
index 5ce46ee32..9f1772f66 100644
--- a/test/algorithms/disjoint_coverage.cpp
+++ b/test/algorithms/disjoint_coverage.cpp
@@ -151,6 +151,10 @@ inline void test_point_multipoint()
tester::apply(from_wkt
("POINT(0 0)"),
from_wkt("MULTIPOINT(1 1,2 2)"),
true);
+
+ tester::apply(from_wkt("POINT(0 0)"),
+ from_wkt("MULTIPOINT()"),
+ true);
}
template
@@ -167,6 +171,14 @@ inline void test_multipoint_multipoint()
tester::apply(from_wkt("MULTIPOINT(0 0,1 0)"),
from_wkt("MULTIPOINT(1 1,2 2)"),
true);
+
+ tester::apply(from_wkt("MULTIPOINT()"),
+ from_wkt("MULTIPOINT(1 1,2 2)"),
+ true);
+
+ tester::apply(from_wkt("MULTIPOINT(0 0,1 0)"),
+ from_wkt("MULTIPOINT()"),
+ true);
}
//============================================================================
@@ -258,6 +270,10 @@ inline void test_multipoint_segment()
tester::apply(from_wkt("MULTIPOINT(1 1,2 2)"),
from_wkt("SEGMENT(0 0,2 0)"),
true);
+
+ tester::apply(from_wkt("MULTIPOINT()"),
+ from_wkt("SEGMENT(0 0,2 0)"),
+ true);
}
template
@@ -396,6 +412,10 @@ inline void test_multipoint_box()
tester::apply(from_wkt("MULTIPOINT(3 3,4 4)"),
from_wkt("BOX(0 0,2 2)"),
true);
+
+ tester::apply(from_wkt("MULTIPOINT()"),
+ from_wkt("BOX(0 0,2 2)"),
+ true);
}
template
@@ -1233,10 +1253,9 @@ inline void test_pointlike_pointlike()
typedef bg::model::point point_type;
test_point_point();
- // not implemented yet
- // test_point_multipoint();
+ test_point_multipoint();
- // test_multipoint_multipoint();
+ test_multipoint_multipoint();
}
template
@@ -1251,7 +1270,7 @@ inline void test_pointlike_linear()
// not implemented yet
// test_multipoint_linestring();
// test_multipoint_multilinestring();
- // test_multipoint_segment();
+ test_multipoint_segment();
}
template
@@ -1268,7 +1287,7 @@ inline void test_pointlike_areal()
// test_multipoint_polygon();
// test_multipoint_multipolygon();
// test_multipoint_ring();
- // test_multipoint_box();
+ test_multipoint_box();
}
template