Skip to content
Snippets Groups Projects
Commit 7cc04b4a authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

Ajout du test sur le PanSharpeningExample

parent 8037f0d4
Branches
Tags
No related merge requests found
......@@ -38,7 +38,17 @@ ADD_TEST(BayesianFusionImageFilterTest ${EXE_TESTS}
0.9999
)
ADD_TEST(PanSharpeningExampleTest ${EXE_TESTS}
--compare-image ${TOL} ${BASELINE}/PanSharpeningExampleTest.tif
${TEMP}/PanSharpeningExampleTest.tif
PanSharpeningExampleTest
${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
${TEMP}/PanSharpeningExampleTest.tif
${TEMP}/PanSharpeningExampleTest1.png
${TEMP}/PanSharpeningExampleTest2.png
${TEMP}/PanSharpeningExampleTest3.png
)
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
......
......@@ -26,8 +26,15 @@
void RegisterTests()
{
REGISTER_TEST(BayesianFusionImageFilterTest);
REGISTER_TEST(PanSharpeningExampleTest);
}
#undef main
#define main BayesianFusionImageFilterTest
#include "BayesianFusionImageFilter.cxx"
#undef main
#define main PanSharpeningExampleTest
#include "PanSharpeningExample.cxx"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment