MCPcopy Create free account
hub / github.com/MITK/MITK / testSetInterpolation

Method testSetInterpolation

Modules/Core/test/mitkMaterialTest.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void testSetInterpolation()
184 {
185 myMP = mitk::Material::New();
186 mitk::Material::InterpolationType interpolation = mitk::Material::Flat;
187 myMP->SetInterpolation(interpolation);
188 MITK_TEST_CONDITION(interpolation == myMP->GetInterpolation(), "Testing if a Interpolation was set correctly")
189 }
190 void testSetRepresentation()
191 {
192 myMP = mitk::Material::New();

Callers 1

mitkMaterialTestFunction · 0.80

Calls 3

NewFunction · 0.50
SetInterpolationMethod · 0.45
GetInterpolationMethod · 0.45

Tested by

no test coverage detected