Linestring/polygon overlay, unit tests for phase 4

[SVN r75569]
This commit is contained in:
Barend Gehrels
2011-11-20 12:35:28 +00:00
parent 8a5ffa7a66
commit df109fa58b

View File

@@ -151,6 +151,12 @@ void test_point_output()
test_point_output<box, multi_polygon>("box(3 0,4 6)", case_multi_simplex[0], 8);
}
template <typename LineString, typename MultiPolygon, typename MultiLineString>
void test_polygon_linestring()
{
//test_one_lp<LineString, MultiPolygon, MultiLineString>("case_mp_mls_1", case_multi_simplex[0], "MULTILINESTRING((2 0,2 5),(3 0,3 5))", 4, 8, 10.0);
test_one_lp<LineString, MultiPolygon, LineString>("case_mp_ls_1", case_multi_simplex[0], "LINESTRING(2 0,2 5)", 2, 4, 3.70);
}
template <typename P>
void test_all()
@@ -185,6 +191,7 @@ void test_all()
typedef bg::model::multi_linestring<linestring> multi_linestring;
test_linear<linestring, multi_linestring, box>();
test_polygon_linestring<linestring, multi_polygon, multi_linestring>();
#endif
test_point_output<P>();