Skip to content
Permalink
Browse files

Remove another test for polygon simplicity which depends on GEOS version

  • Loading branch information
nyalldawson committed Feb 8, 2021
1 parent 471982f commit 9246b03009d16f0ae3b9b94b49176da556864e75
Showing with 0 additions and 1 deletion.
  1. +0 −1 tests/src/core/testqgsgeometry.cpp
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;

0 comments on commit 9246b03

Please sign in to comment.