Skip to content

Commit

Permalink
More test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 23, 2024
1 parent 3d51487 commit 4891bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/app/testqgsidentify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,8 +1264,8 @@ void TestQgsIdentify::testPolygonZ()
double interpolatedZ4985 = result.at( 0 ).mDerivedAttributes[ QStringLiteral( "Interpolated Z (EPSG:4985 - WGS 72)" )].toDouble();
double closestZ4979 = result.at( 0 ).mDerivedAttributes[ QStringLiteral( "Closest vertex Z (EPSG:4979 - WGS 84)" )].toDouble();
double closestZ4985 = result.at( 0 ).mDerivedAttributes[ QStringLiteral( "Closest vertex Z (EPSG:4985 - WGS 72)" )].toDouble();
QGSCOMPARENEAR( interpolatedZ4979, 5549.9817600000, 0.001 );
QGSCOMPARENEAR( interpolatedZ4985, 5552.3424580000, 0.01 );
QGSCOMPARENEAR( interpolatedZ4979, 5549.9817600000, 0.02 );
QGSCOMPARENEAR( interpolatedZ4985, 5552.3424580000, 0.02 );
QGSCOMPARENEAR( closestZ4979, 5543.325, 0.001 );
QGSCOMPARENEAR( closestZ4985, 5545.6857, 0.01 );
}
Expand Down

0 comments on commit 4891bda

Please sign in to comment.