diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-04-25 17:04:48 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:27 +0300 |
commit | c1a8258674893e3d4af0612e34efb61877b83e7d (patch) | |
tree | 923c2f041d1d1e91d950e9b83fa9d47659e3b2dd /geometry | |
parent | 156257ef833242cffdbca46b7cecc659f6afaeab (diff) |
Add commented-out IsPolygonCCW_DataSet3, with a polygon that makes great_britain.osm build fail.
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/geometry_tests/polygon_test.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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)); +} +*/ + |