diff --git a/Modules/PhotoacousticsLib/test/files.cmake b/Modules/PhotoacousticsLib/test/files.cmake index ae1e015083..54e0f21af1 100644 --- a/Modules/PhotoacousticsLib/test/files.cmake +++ b/Modules/PhotoacousticsLib/test/files.cmake @@ -1,40 +1,41 @@ set(MODULE_TESTS # IMPORTANT: If you plan to deactivate / comment out a test please write a bug number to the commented out line of code. # # Example: #mitkMyTest #this test is commented out because of bug 12345 # # It is important that the bug is open and that the test will be activated again before the bug is closed. This assures that # no test is forgotten after it was commented out. If there is no bug for your current problem, please add a new one and # mark it as critical. ################## ON THE FENCE TESTS ################################################# # none ################## DISABLED TESTS ##################################################### ################# RUNNING TESTS ####################################################### mitkSlicedVolumeGeneratorTest.cpp mitkPhotoacousticTissueGeneratorTest.cpp mitkPhotoacousticVectorTest.cpp mitkPhotoacoustic3dVolumeTest.cpp mitkPhotoacousticVolumeTest.cpp mitkPhotoacousticVesselTest.cpp mitkPhotoacousticVesselTreeTest.cpp mitkPhotoacousticVesselMeanderStrategyTest.cpp mitkMcxyzXmlTest.cpp mitkPhotoacousticComposedVolumeTest.cpp mitkPhotoacousticNoiseGeneratorTest.cpp mitkPhotoacousticIOTest.cpp mitkMCThreadHandlerTest.cpp mitkSimulationBatchGeneratorTest.cpp mitkPropertyCalculatorTest.cpp + mitkSpectralUnmixingTest.cpp ) set(RESOURCE_FILES pointsource.xml circlesource.xml rectanglesource.xml twopointsources.xml allsources.xml ) diff --git a/Modules/PhotoacousticsLib/test/mitkSpectralUnmixingTest.cpp b/Modules/PhotoacousticsLib/test/mitkSpectralUnmixingTest.cpp new file mode 100644 index 0000000000..f2a4ea7343 --- /dev/null +++ b/Modules/PhotoacousticsLib/test/mitkSpectralUnmixingTest.cpp @@ -0,0 +1,50 @@ +///*=================================================================== + +//The Medical Imaging Interaction Toolkit (MITK) + +//Copyright (c) German Cancer Research Center, +//Division of Medical and Biological Informatics. +//All rights reserved. + +//This software is distributed WITHOUT ANY WARRANTY; without +//even the implied warranty of MERCHANTABILITY or FITNESS FOR +//A PARTICULAR PURPOSE. + +//See LICENSE.txt or http://www.mitk.org for details. + +//===================================================================*/ +#include +#include + +#include + +class mitkSpectralUnmixingTestSuite : public mitk::TestFixture +{ + CPPUNIT_TEST_SUITE(mitkSpectralUnmixingTestSuite); + MITK_TEST(testSUAlgorithm); + CPPUNIT_TEST_SUITE_END(); + +private: + mitk::pa::SpectralUnmixingFilterBase::Pointer m_SpectralUnmixingFilter; + +public: + + void setUp() override + { + } + + void testSUAlgorithm() + { + // INSERT TEST HERE? + MITK_INFO << "TEST TEST"; + + } + + + void tearDown() override + { + m_SpectralUnmixingFilter = nullptr; + } +}; + +MITK_TEST_SUITE_REGISTRATION(mitkSpectralUnmixing)