Skip to content
Permalink
Browse files

Bump tolerance in distance area test

  • Loading branch information
nyalldawson committed Feb 26, 2016
1 parent 87145f7 commit 36b1db0488a43cdeb4073b1a31ef1c775d02e103
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsdistancearea.cpp
@@ -335,7 +335,7 @@ void TestQgsDistanceArea::measureAreaAndUnits()
area = da.measureArea( polygon.data() );
units = da.areaUnits();
QgsDebugMsg( QString( "measured %1 in %2" ).arg( area ).arg( QgsUnitTypes::toString( units ) ) );
QVERIFY( qgsDoubleNear( area, 184149.37, 0.1 ) );
QVERIFY( qgsDoubleNear( area, 184149.37, 1.0 ) );
QCOMPARE( units, QgsUnitTypes::SquareMeters );

// test converting the resultant area

0 comments on commit 36b1db0

Please sign in to comment.
You can’t perform that action at this time.