MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / TEST

Function TEST

Testing/Unit/sitkTransformGeometryImageFilterTest.cxx:48–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48TEST(BasicFilters, TransformGeometryImageFilter)
49{
50 itk::simple::ImageFileReader reader;
51 itk::simple::TransformGeometryImageFilter filter;
52 itk::simple::Image inputA(0, 0, itk::simple::sitkUInt8);
53 itk::simple::Image inputB(0, 0, itk::simple::sitkUInt8);
54 itk::simple::Image output(0, 0, itk::simple::sitkUInt8);
55 std::string inputSHA1hash;
56
57
58 EXPECT_NE(filter.ToString(), "") << "empty ToString method!";
59 EXPECT_EQ(filter.GetName(), "TransformGeometryImageFilter") << "checking GetName method!";
60
61 // Test sets / gets
62
63
64 // This block is to verify that the input images for named inputs are
65 // check if the sizes match for computation.
66 itk::simple::Image smallImage(1, 1, 1, itk::simple::sitkUInt8);
67 itk::simple::Image largeImage(10, 10, 10, itk::simple::sitkUInt8);
68}
69
70TEST(BasicFilters, TransformGeometryImageFilter_defaults)
71{ // BEGIN FOR EACH TEST

Callers

nothing calls this directly

Calls 13

ReadTransformFunction · 0.85
HashFunction · 0.85
isLabelTypeFunction · 0.85
SetHashFunctionMethod · 0.80
DebugOnMethod · 0.80
GetBufferAsVoidMethod · 0.80
ReadImageFunction · 0.50
ToStringMethod · 0.45
GetNameMethod · 0.45
GetFileMethod · 0.45
ExecuteMethod · 0.45
MakeUniqueMethod · 0.45

Tested by

no test coverage detected