Skip to content

Commit 24e92b4

Browse files
grizonnetmalexbruy
authored andcommittedMay 24, 2017
TEST: add a test for otb conversion application (simpler than bandmath)
(cherry picked from commit 7b22f5d)
1 parent 47c1daa commit 24e92b4

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed
 
Binary file not shown.
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# See ../README.md for a description of the file format
22

33
tests:
4-
- algorithm: otb:bandmath
5-
name: Test (otb:bandmath)
4+
5+
- algorithm: otb:imageconversion
6+
name: Test (otb:imageconversion)
67
params:
7-
!!python/unicode '-exp': im1b1==826?255:0
8-
!!python/unicode '-il':
9-
params:
10-
- name: raster.tif
11-
type: raster
12-
type: multi
13-
!!python/unicode '-ram': 128
8+
-hcp.high: 2
9+
-hcp.low: 2
10+
-in:
11+
name: raster.tif
12+
type: raster
13+
-ram: 128
14+
-type: '1'
15+
-type.linear.gamma: 1
1416
results:
15-
!!python/unicode '-out':
16-
hash: a8acb8da3cf40a156fe26f815588a7cbf8f3c8f6b3c226968b1eab1e
17+
-out:
18+
hash: b3657f4d848b64f688db41638ea6d86d9de1d0a169bc1bafef8af82a
1719
type: rasterhash
1820

0 commit comments

Comments
 (0)
Please sign in to comment.