Skip to content
Permalink
Browse files

Remove another test for polygon simplicity which depends on GEOS version

  • Loading branch information
nyalldawson committed Feb 5, 2021
1 parent eb4831a commit fc335a176abdcfcdc64d5cb305b2d4c75cd17d77
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 fc335a1

Please sign in to comment.