From df109fa58b179af406daf773ed40de5bb2c9720d Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Sun, 20 Nov 2011 12:35:28 +0000 Subject: [PATCH] Linestring/polygon overlay, unit tests for phase 4 [SVN r75569] --- test/multi/algorithms/multi_intersection.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/multi/algorithms/multi_intersection.cpp b/test/multi/algorithms/multi_intersection.cpp index bc1e65d13..40d2c1d22 100644 --- a/test/multi/algorithms/multi_intersection.cpp +++ b/test/multi/algorithms/multi_intersection.cpp @@ -151,6 +151,12 @@ void test_point_output() test_point_output("box(3 0,4 6)", case_multi_simplex[0], 8); } +template +void test_polygon_linestring() +{ + //test_one_lp("case_mp_mls_1", case_multi_simplex[0], "MULTILINESTRING((2 0,2 5),(3 0,3 5))", 4, 8, 10.0); + test_one_lp("case_mp_ls_1", case_multi_simplex[0], "LINESTRING(2 0,2 5)", 2, 4, 3.70); +} template void test_all() @@ -185,6 +191,7 @@ void test_all() typedef bg::model::multi_linestring multi_linestring; test_linear(); + test_polygon_linestring(); #endif test_point_output

();