Skip to content
Permalink
Browse files

add testcase for variance from Int32 raster data type

  • Loading branch information
root676 authored and nyalldawson committed Sep 25, 2020
1 parent db6ebf1 commit 0fe9955590bc12e712c0fefdd14d6eccef206e56
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/src/analysis/testqgsprocessingalgs.cpp
@@ -2286,6 +2286,18 @@ void TestQgsProcessingAlgs::cellStatistics_data()
<< true
<< QStringLiteral( "/cellstatistics_mean_ignore_nodata_result.tif" )
<< Qgis::Float64;

/*
* Testcase 16: Sum (integer)
*/
QTest::newRow( "testcase_16" )
<< QStringList( {"/raster/statisticsRas1_int32.tif", "/raster/statisticsRas2_int32.tif", "/raster/statisticsRas3_int32.tif"} )
<< QStringLiteral( "/raster/statisticsRas1_int32.tif" )
<< 5
<< false
<< QStringLiteral( "/cellstatistics_variance_result_float32.tif" )
<< Qgis::Float32;

}

void TestQgsProcessingAlgs::cellStatistics()

0 comments on commit 0fe9955

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