Skip to content

Commit

Permalink
Remove another test for polygon simplicity which depends on GEOS version
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 8, 2021
1 parent 471982f commit 9246b03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/src/core/testqgsgeometry.cpp
Expand Up @@ -17660,7 +17660,6 @@ void TestQgsGeometry::isSimple_data()
QTest::newRow( "self-intersection" ) << QStringLiteral( "LINESTRING(0 0, 1 0, 1 1, 0 -1)" ) << false;
QTest::newRow( "self-tangency" ) << QStringLiteral( "LINESTRING(0 0, 1 0, 1 1, 0.5 0, 0 1)" ) << false;
QTest::newRow( "points are simple" ) << QStringLiteral( "POINT(1 1)" ) << true;
QTest::newRow( "polygons are always simple, even if they are invalid" ) << QStringLiteral( "POLYGON((0 0, 1 1, 1 1, 0 0))" ) << true;
QTest::newRow( "multipoint" ) << QStringLiteral( "MULTIPOINT((1 1), (2 2))" ) << true;
QTest::newRow( "must not contain the same point twice" ) << QStringLiteral( "MULTIPOINT((1 1), (1 1))" ) << false;
QTest::newRow( "multiline string simple" ) << QStringLiteral( "MULTILINESTRING((0 0, 1 0), (0 1, 1 1))" ) << true;
Expand Down

0 comments on commit 9246b03

Please sign in to comment.