Commit 062b0ffc authored by Cédric Traizet's avatar Cédric Traizet

ENH: added a test for the application

parent 34875726
......@@ -53,3 +53,24 @@ otb_test_application(NAME apTvHyVertexComponentAnalysis
${TEMP}/apTvHyVertexComponentAnalysis.tif
)
#----------- EndmemberNumberEstimation TESTS ----------------
otb_test_application(NAME apTvHyEndmemberNumberEstimation_vd
APP EndmemberNumberEstimation
OPTIONS -in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif
-algo vd
-algo.vd.far 0.001
TESTENVOPTIONS ${TEMP}/aptTvHyEndmemberNumberEstimation_vd.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/aptTvHyEndmemberNumberEstimation.txt
${TEMP}/aptTvHyEndmemberNumberEstimation_vd.txt
)
otb_test_application(NAME apTvHyEndmemberNumberEstimation_elm
APP EndmemberNumberEstimation
OPTIONS -in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif
-algo elm
TESTENVOPTIONS ${TEMP}/aptTvHyEndmemberNumberEstimation_elm.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/aptTvHyEndmemberNumberEstimation.txt
${TEMP}/aptTvHyEndmemberNumberEstimation_elm.txt
)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment