20 CPPUNIT_TEST_SUITE(mitkRawImageFileReaderTestSuite);
22 CPPUNIT_TEST_SUITE_END();
26 std::string m_ImagePath;
27 std::string m_ImagePathNrrdRef;
41 void tearDown()
override {}
52 mitk::IOUtil::Load<mitk::Image >(m_ImagePath, options);
53 CPPUNIT_ASSERT_MESSAGE(
"Testing reading a raw file.", readFile.IsNotNull());
58 compareImage, readFile,
"Testing if image is equal to the same image as reference file loaded with mitk");
MITK_TEST_SUITE_REGISTRATION(mitkImageToItk)
#define MITK_TEST(TESTMETHOD)
Adds a test to the current test suite.
std::map< std::string, us::Any > Options
Options for reading or writing data.
static std::string GetTestDataFilePath(const std::string &testData)
Get the absolute path for test data.
static std::string SIZE_Z()
Test fixture for parameterized tests.
#define MITK_ASSERT_EQUAL(EXPECTED, ACTUAL, MSG)
Testing macro to test if two objects are equal.
static std::string DIMENSION()
static std::string SIZE_X()
static std::string ENDIANNESS_LITTLE()
static std::string ENDIANNESS()
static std::string PIXEL_TYPE_FLOAT()
static std::string SIZE_Y()
static std::string PIXEL_TYPE()