Commit 062b0ffc authored by Cedric's avatar Cedric
Browse files

ENH: added a test for the application

No related merge requests found
Showing with 21 additions and 0 deletions
+21 -0
......@@ -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
Supports Markdown
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