Skip to content
Snippets Groups Projects
Commit 67b35743 authored by Kasper Marstal's avatar Kasper Marstal
Browse files

ENH: ELASTIX-1 Add fixture test example

parent 62b7a4bd
No related branches found
No related tags found
No related merge requests found
#include "itkImage.h"
#include "itkImageFileReader.h"
#include "elxDataManager.h"
#include "gtest/gtest.h"
class itkRegistration : public ::testing::Test {
public:
virtual void SetUp()
{
DataManager dataManager;
typedef itk::ImageFileReader< ImageType > ReaderType;
ReaderType::Pointer reader = ReaderType::New();
reader->SetFileName( dataManager.GetInput( "BrainProtonDensitySliceR10X13Y17.png" ) );
inputImage = reader->GetOutput();
reader->SetFileName( dataManager.GetBaseline( "BrainProtonDensitySlice.png" ) );
baselineImage = reader->GetOutput();
}
typedef itk::Image< unsigned int, 2 > ImageType;
ImageType::Pointer inputImage;
ImageType::Pointer baselineImage;
};
TEST_F( itkRegistration, Affine2D )
{
ASSERT_TRUE( true );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment