Skip to content

Commit

Permalink
[processing][SAGA] Add unit test for RGB composite
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 4, 2018
1 parent 71b32f0 commit 0ba37fc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions python/plugins/processing/tests/testdata/saga_algorithm_tests.yaml
Expand Up @@ -515,3 +515,40 @@ tests:
hash: e016ba480e7c9a7cfe7bbbec50f4f3df0e796be7641fe68744f541b5
type: rasterhash


- algorithm: saga:rgbcomposite
name: RGB Composite
params:
B_GRID:
name: custom/grass7/raster_6class.tif
type: raster
B_METHOD: 1
B_PERCTL_MAX: 6
B_PERCTL_MIN: 1
B_RANGE_MAX: 255
B_RANGE_MIN: 0
B_STDDEV: 2.0
G_GRID:
name: custom/grass7/raster_4class.tif
type: raster
G_METHOD: 1
G_PERCTL_MAX: 99
G_PERCTL_MIN: 1
G_RANGE_MAX: 4
G_RANGE_MIN: 0
G_STDDEV: 2.0
R_GRID:
name: custom/grass7/raster_1class.tif
type: raster
R_METHOD: 1
R_PERCTL_MAX: 99
R_PERCTL_MIN: 1
R_RANGE_MAX: 1
R_RANGE_MIN: 0
R_STDDEV: 2.0
results:
RGB:
hash:
- db2c282835706e4320e7c59d86c28d930b35433ec57af70e35a325d5
- 9caba3703fd59f99466c0bf37054826d328d1349cfe03f171655adf6
type: rasterhash

0 comments on commit 0ba37fc

Please sign in to comment.