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 8, 2021
1 parent f7ae01c commit 471982ff641a740ca7116e15e289739ce553f367
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 471982f

Please sign in to comment.