mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
add testcase for variance from Int32 raster data type
This commit is contained in:
parent
db6ebf1089
commit
0fe9955590
@ -2286,6 +2286,18 @@ void TestQgsProcessingAlgs::cellStatistics_data()
|
|||||||
<< true
|
<< true
|
||||||
<< QStringLiteral( "/cellstatistics_mean_ignore_nodata_result.tif" )
|
<< QStringLiteral( "/cellstatistics_mean_ignore_nodata_result.tif" )
|
||||||
<< Qgis::Float64;
|
<< 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()
|
void TestQgsProcessingAlgs::cellStatistics()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user