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

Method testSetRepresentation

Modules/Core/test/mitkMaterialTest.cpp:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 MITK_TEST_CONDITION(interpolation == myMP->GetInterpolation(), "Testing if a Interpolation was set correctly")
189 }
190 void testSetRepresentation()
191 {
192 myMP = mitk::Material::New();
193 mitk::Material::RepresentationType representation = mitk::Material::Wireframe;
194 myMP->SetRepresentation(representation);
195 MITK_TEST_CONDITION(representation == myMP->GetRepresentation(), "Testing if a Representation was set correctly")
196 }
197
198 void testSetLineWidth()
199 {

Callers 1

mitkMaterialTestFunction · 0.80

Calls 3

SetRepresentationMethod · 0.80
GetRepresentationMethod · 0.80
NewFunction · 0.50

Tested by

no test coverage detected