From 8bc77aae4acbc05910d55c445a12cfa909bdc6b8 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Tue, 21 Oct 2014 22:30:17 +0200 Subject: [PATCH] [test] fix merge error, remove duplicate function in point_on_surface --- test/algorithms/point_on_surface.cpp | 15 --------------- 1 file changed, 15 deletions(-) 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() {