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

Method testSetOpacity

Modules/Core/test/mitkMaterialTest.cpp:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 MITK_TEST_CONDITION(specularPower == myMP->GetSpecularPower(), "Testing if a SpecularPower was set correctly")
174 }
175 void testSetOpacity()
176 {
177 myMP = mitk::Material::New();
178 double opacity = 1;
179 myMP->SetOpacity(opacity);
180 MITK_TEST_CONDITION(opacity == myMP->GetOpacity(), "Testing if a Opacity was set correctly")
181 }
182
183 void testSetInterpolation()
184 {

Callers 1

mitkMaterialTestFunction · 0.80

Calls 3

NewFunction · 0.50
SetOpacityMethod · 0.45
GetOpacityMethod · 0.45

Tested by

no test coverage detected