Skip to content
Snippets Groups Projects
Commit 6e83b5e1 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: add test for SplitImage application

parent b816b0fc
No related branches found
No related tags found
No related merge requests found
......@@ -124,4 +124,23 @@ add_test(NAME apTvUtBandMath
${INPUTDATA}/poupees_sub.png
--out ${TEMP}/apTvUtBandMathOutput.tif
--exp "cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3,im3b4)"
)
\ No newline at end of file
)
# Split Image applciation
add_test(NAME apTvUtSplitImage
COMMAND otbTestDriver --compare-n-images ${NOTOL} 3
${INPUTDATA}/poupees_sub_c1.png
${TEMP}/apTvUtSplitImageOutput_0.tif
${INPUTDATA}/poupees_sub_c2.png
${TEMP}/apTvUtSplitImageOutput_1.tif
${INPUTDATA}/poupees_sub_c3.png
${TEMP}/apTvUtSplitImageOutput_2.tif
Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
SplitImage
$<TARGET_FILE_DIR:otbapp_BandMath>
--in ${INPUTDATA}/poupees_sub.png
--out ${TEMP}/apTvUtSplitImageOutput.tif
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment