From 062b0ffc9083617f95589d64b0112a49fc4e089d Mon Sep 17 00:00:00 2001 From: Cedric <cedric.traizet@c-s.fr> Date: Thu, 10 Jan 2019 14:39:29 +0100 Subject: [PATCH] ENH: added a test for the application --- .../AppHyperspectral/test/CMakeLists.txt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Modules/Applications/AppHyperspectral/test/CMakeLists.txt b/Modules/Applications/AppHyperspectral/test/CMakeLists.txt index 0e5e3892ca..ef42f9c4de 100644 --- a/Modules/Applications/AppHyperspectral/test/CMakeLists.txt +++ b/Modules/Applications/AppHyperspectral/test/CMakeLists.txt @@ -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 -- GitLab