24 CPPUNIT_TEST_SUITE(mitkRawImageFileReaderTestSuite);
26 CPPUNIT_TEST_SUITE_END();
30 std::string m_ImagePath;
31 std::string m_ImagePathNrrdRef;
45 void tearDown()
override {}
57 CPPUNIT_ASSERT_MESSAGE(
"Testing reading a raw file.", readFile.IsNotNull());
62 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()
Image class for storing images.
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 DataStorage::SetOfObjects::Pointer Load(const std::string &path, DataStorage &storage)
Load a file into the given DataStorage.
static std::string PIXEL_TYPE_FLOAT()
static std::string SIZE_Y()
static mitk::Image::Pointer LoadImage(const std::string &path)
LoadImage Convenience method to load an arbitrary mitkImage.
static std::string PIXEL_TYPE()