Skip to content
Permalink
Browse files

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.
  • Loading branch information
nyalldawson committed Feb 5, 2021
1 parent d2be3ca commit eb4831a3ccd4d03c534cd71dbcb766f0457396c5
Showing with 0 additions and 1 deletion.
  1. +0 −1 tests/src/core/testqgsgeometry.cpp
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()

0 comments on commit eb4831a

Please sign in to comment.