Skip to content
Snippets Groups Projects
Commit ce4b8f7d authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

TEST: Add test for ContingencyTable Unsupervised module and application.

parent 8d1e3aaf
Branches
Tags
No related merge requests found
...@@ -3,6 +3,7 @@ set(OTBUnsupervisedTests ...@@ -3,6 +3,7 @@ set(OTBUnsupervisedTests
otbUnsupervisedTestDriver.cxx otbUnsupervisedTestDriver.cxx
otbMachineLearningClusteringModelCanRead.cxx otbMachineLearningClusteringModelCanRead.cxx
otbTrainMachineLearningClusteringModel.cxx otbTrainMachineLearningClusteringModel.cxx
otbContingencyTableCalculatorTest.cxx
) )
...@@ -12,6 +13,19 @@ otb_module_target_label(otbUnsupervisedTestDriver) ...@@ -12,6 +13,19 @@ otb_module_target_label(otbUnsupervisedTestDriver)
# Tests Declaration # Tests Declaration
otb_add_test(NAME leTuContingencyTableCalculatorNew COMMAND otbUnsupervisedTestDriver
otbContingencyTableCalculatorNew)
otb_add_test(NAME leTvContingencyTableCalculatorSetListSamples COMMAND otbUnsupervisedTestDriver
otbContingencyTableCalculatorSetListSamples 1000 4)
otb_add_test(NAME leTvContingencyTableCalculatorUpdate COMMAND otbUnsupervisedTestDriver
otbContingencyTableCalculatorCompute 4 3)
otb_add_test(NAME leTvContingencyTableCalculatorUpdateWithBaseline COMMAND otbUnsupervisedTestDriver
otbContingencyTableCalculatorComputeWithBaseline)
if(OTB_USE_SHARK) if(OTB_USE_SHARK)
include(tests-shark.cmake) include(tests-shark.cmake)
endif() endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment