Skip to content
Permalink
Browse files

Enable rastersublayertest

  • Loading branch information
m-kuhn committed Oct 3, 2017
1 parent 110dec7 commit 26a14b2865db2f7885f6f84966b2ffaf022f669b
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/src/core/testqgsrastersublayer.cpp
@@ -173,9 +173,8 @@ void TestQgsRasterSubLayer::checkStats()

QVERIFY( sublayer->width() == width );
QVERIFY( sublayer->height() == height );
// Unstable test, see https://github.com/qgis/QGIS/pull/5256#issuecomment-332505466
// QGSCOMPARENEAR( myStatistics.minimumValue, min, 4 * DBL_EPSILON );
// QGSCOMPARENEAR( myStatistics.maximumValue, max, 4 * DBL_EPSILON );
QGSCOMPARENEAR( myStatistics.minimumValue, min, 4 * DBL_EPSILON );
QGSCOMPARENEAR( myStatistics.maximumValue, max, 4 * DBL_EPSILON );
mReport += QLatin1String( "<p>Passed</p>" );
delete sublayer;
}

0 comments on commit 26a14b2

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