[geos-commits] r4159 - trunk/tests/unit/operation/overlay
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Mar 1 07:22:48 PST 2016
Author: mloskot
Date: 2016-03-01 07:22:48 -0800 (Tue, 01 Mar 2016)
New Revision: 4159
Modified:
trunk/tests/unit/operation/overlay/OverlayOpUnionTest.cpp
Log:
Add comment explaining the expected test result
Since the union operation makes no effort to simplify and
drop nodes of degree 2 from the built topology,
do not expect GEOS_LINESTRING.
https://lists.osgeo.org/pipermail/geos-devel/2016-March/007429.html
Modified: trunk/tests/unit/operation/overlay/OverlayOpUnionTest.cpp
===================================================================
--- trunk/tests/unit/operation/overlay/OverlayOpUnionTest.cpp 2016-03-01 13:43:09 UTC (rev 4158)
+++ trunk/tests/unit/operation/overlay/OverlayOpUnionTest.cpp 2016-03-01 15:22:48 UTC (rev 4159)
@@ -38,7 +38,7 @@
// Test Cases
//
- // 1 - Union four segments of a square
+ // 1 - Union four connected segments of a square
template<>
template<>
void object::test<1>()
@@ -59,6 +59,10 @@
// Assert
ensure_equals(lines1234->getGeometryTypeId(), geos::geom::GEOS_MULTILINESTRING);
+
+ // NOTE: Since the union operation makes no effort to simplify and
+ // drop nodes of degree 2 from the built topology,
+ // do not expect GEOS_LINESTRING.
}
} // namespace tut
More information about the geos-commits
mailing list