Skip to content
Permalink
Browse files
Make a test less GEOS version sensitive
  • Loading branch information
nyalldawson committed Nov 2, 2021
1 parent 0fc9a39 commit acc0495a306cbb704c5f385078f327fd4796885f
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/src/geometry_checker/testqgsgeometrychecks.cpp
@@ -612,7 +612,9 @@ void TestQgsGeometryChecks::testAllowedGaps()
}
else
{
QCOMPARE( f.geometry().asWkt( 4 ), QgsGeometry::fromWkt( "Polygon ((0.246 -0.8659, 0.3939 -0.77, 0.26 -0.8839, 0.27 -0.9998, 0.246 -0.8659))" ).asWkt( 4 ) );
QgsGeometry res = f.geometry();
res.normalize();
QCOMPARE( res.asWkt( 4 ), QgsGeometry::fromWkt( "Polygon ((0.246 -0.8659, 0.3939 -0.77, 0.26 -0.8839, 0.27 -0.9998, 0.246 -0.8659))" ).asWkt( 4 ) );
}

// Run check again after adding the gap geometry to the allowed gaps layer: one less error

0 comments on commit acc0495

Please sign in to comment.