From 4891bdaebca91ed81758ea8f8be73c70280ec8cc Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 18 Jul 2024 11:22:14 +1000 Subject: [PATCH] More test tolerance --- tests/src/app/testqgsidentify.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/app/testqgsidentify.cpp b/tests/src/app/testqgsidentify.cpp index 11d7f7128e97..ffd748c9a112 100644 --- a/tests/src/app/testqgsidentify.cpp +++ b/tests/src/app/testqgsidentify.cpp @@ -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 ); }