From c1a8258674893e3d4af0612e34efb61877b83e7d Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Mon, 25 Apr 2011 15:04:48 +0200 Subject: [PATCH] Add commented-out IsPolygonCCW_DataSet3, with a polygon that makes great_britain.osm build fail. --- geometry/geometry_tests/polygon_test.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/geometry/geometry_tests/polygon_test.cpp b/geometry/geometry_tests/polygon_test.cpp index 27ad80a351..4647e295ba 100644 --- a/geometry/geometry_tests/polygon_test.cpp +++ b/geometry/geometry_tests/polygon_test.cpp @@ -174,3 +174,15 @@ UNIT_TEST(IsPolygonCCW_DataSet2) TestPolygonOrReverseCCW(arr, arr + ARRAY_SIZE(arr)); } */ + +/* +UNIT_TEST(IsPolygonCCW_DataSet3) +{ + P arr[] = { P(0.738019701780757, 61.1239696304537), P(0.738234278502148, 61.1240028227903), + P(0.738675837161651, 61.1240276332237), P(0.738234278502148, 61.1240028227903), + P(0.738019701780757, 61.1239696304537), P(0.737414528371232, 61.1238241206145) }; + + TestPolygonOrReverseCCW(arr, arr + ARRAY_SIZE(arr)); +} +*/ +