Skip to content

Commit

Permalink
Remove multipolygon is simple test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nyalldawson committed Feb 8, 2021
1 parent f7ae01c commit 471982f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/src/core/testqgsgeometry.cpp
Expand Up @@ -17666,7 +17666,6 @@ void TestQgsGeometry::isSimple_data()
QTest::newRow( "multiline string simple" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 0), (0 1, 1 1))" ) << true;
QTest::newRow( "may be touching at endpoints" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 0), (0 0, 1 0))" ) << true;
QTest::newRow( "must not intersect each other" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 1), (0 1, 1 0))" ) << false;
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;
}

void TestQgsGeometry::isSimple()
Expand Down

0 comments on commit 471982f

Please sign in to comment.