Skip to content

Commit

Permalink
Bump tolerance in distance area test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 26, 2016
1 parent 87145f7 commit 36b1db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsdistancearea.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 36b1db0

Please sign in to comment.