diff --git a/test/algorithms/point_on_surface.cpp b/test/algorithms/point_on_surface.cpp index 2cdaa47b3..00b6f1236 100644 --- a/test/algorithms/point_on_surface.cpp +++ b/test/algorithms/point_on_surface.cpp @@ -149,21 +149,6 @@ void test_point_order_and_type() test_geometry("with_hole_cw_closed", "POLYGON((0 0,0 9,9 9,9 0,0 0),(2 2,7 2,7 7,2 7,2 2))", 0, 0); } -template -void test_point_order_and_type() -{ - typedef bg::model::polygon polygon; - typedef bg::model::polygon ccw_open_polygon; - typedef bg::model::polygon cw_open_polygon; - typedef bg::model::polygon ccw_closed_polygon; - typedef bg::model::polygon cw_closed_polygon; - - test_geometry("with_hole_ccw_open", "POLYGON((0 0,9 0,9 9,0 9),(2 2,2 7,7 7,7 2))", 0, 0); - test_geometry("with_hole_cw_open", "POLYGON((0 0,0 9,9 9,9 0),(2 2,7 2,7 7,2 7))", 0, 0); - test_geometry("with_hole_ccw_closed", "POLYGON((0 0,9 0,9 9,0 9,0 0),(2 2,2 7,7 7,7 2,2 2))", 0, 0); - test_geometry("with_hole_cw_closed", "POLYGON((0 0,0 9,9 9,9 0,0 0),(2 2,7 2,7 7,2 7,2 2))", 0, 0); -} - template void test_all() {