Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
b2dec5d6
Commit
b2dec5d6
authored
7 years ago
by
Marina Bertolino
Browse files
Options
Downloads
Patches
Plain Diff
TEST: add 2 new tests for Convert app
parent
a9ba202c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/Applications/AppImageUtils/test/CMakeLists.txt
+24
-2
24 additions, 2 deletions
Modules/Applications/AppImageUtils/test/CMakeLists.txt
with
24 additions
and
2 deletions
Modules/Applications/AppImageUtils/test/CMakeLists.txt
+
24
−
2
View file @
b2dec5d6
...
...
@@ -34,7 +34,7 @@ otb_test_application(NAME apTuUtDownloadSRTMTiles
otb_test_application
(
NAME apTvUtConvertBasic
APP Convert
OPTIONS -in
${
INPUTDATA
}
/QB_Toulouse_Ortho_XS.tif
-out
${
TEMP
}
/apTvUtConvertBasicOutput.tif
-out
${
TEMP
}
/apTvUtConvertBasicOutput.tif
float
VALID --compare-image
${
NOTOL
}
${
INPUTDATA
}
/apTvUtConvertBasicOutput.tif
${
TEMP
}
/apTvUtConvertBasicOutput.tif
...
...
@@ -49,7 +49,7 @@ otb_test_application(NAME apTuUtConvertExtendedFilename_writer
otb_test_application
(
NAME apTvUtConvertWithScaling
APP Convert
OPTIONS -in
${
INPUTDATA
}
/QB_Toulouse_Ortho_XS.tif
-out
${
TEMP
}
/apTvUtConvertWithScalingOutput.tif
uint8
-out
${
TEMP
}
/apTvUtConvertWithScalingOutput.tif
-type linear
VALID --compare-image
${
NOTOL
}
${
INPUTDATA
}
/apTvUtConvertWithScalingOutput.tif
...
...
@@ -64,6 +64,28 @@ otb_test_application(NAME apTvUtConvertExtendedFilename_readerGEOM
${
INPUTDATA
}
/ToulouseExtract_ModifiedGeom.geom
${
TEMP
}
/apTvUtGeomExtendedFilename.geom
)
otb_test_application
(
NAME apTvUtConvertSelectChannels
APP Convert
OPTIONS -in
${
INPUTDATA
}
/QB_Toulouse_Ortho_XS.tif
-out
${
TEMP
}
/apTvUtConvertSelectChannelsRgbOutput.tif
-channels rgb
-channels.rgb.red 2
-channels.rgb.green 3
-channels.rgb.blue 1
-type linear
VALID --compare-image
${
NOTOL
}
${
INPUTDATA
}
/apTvUtConvertSelectChannelsRgbOutput.tif
${
TEMP
}
/apTvUtConvertSelectChannelsRgbOutput.tif
)
otb_test_application
(
NAME apTvUtConvertMonoChannel
APP Convert
OPTIONS -in
${
INPUTDATA
}
/QB_Toulouse_Ortho_PAN.tif
-out
${
TEMP
}
/apTvUtConvertMonoChannelOutput.tif
-channels mono
-type linear
VALID --compare-image
${
NOTOL
}
${
INPUTDATA
}
/apTvUtConvertMonoChannelOutput.tif
${
TEMP
}
/apTvUtConvertMonoChannelOutput.tif
)
#----------- PixelInfo TESTS ----------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment