Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1c0f696

Browse files
committedFeb 4, 2021
Remove multipolygon is simple test
The behavior in GEOS relating to this was changed in GEOS 3.8 (see libgeos/geos@dddda85) In any case, we have enough other tests for this method to trust that we're correctly delegating to GEOS to do the actual test.
1 parent 32e4694 commit 1c0f696

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎tests/src/core/testqgsgeometry.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17666,7 +17666,6 @@ void TestQgsGeometry::isSimple_data()
1766617666
QTest::newRow( "multiline string simple" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 0), (0 1, 1 1))" ) << true;
1766717667
QTest::newRow( "may be touching at endpoints" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 0), (0 0, 1 0))" ) << true;
1766817668
QTest::newRow( "must not intersect each other" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 1), (0 1, 1 0))" ) << false;
17669-
QTest::newRow( "multi-polygons are always simple" ) << QStringLiteral( "MULTIPOLYGON(((0 0, 1 1, 1 1, 0 0)),((0 0, 1 1, 1 1, 0 0)))" ) << true;
1767017669
}
1767117670

1767217671
void TestQgsGeometry::isSimple()

0 commit comments

Comments
 (0)
Please sign in to comment.