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

Method testSetColorCoefficient

Modules/Core/test/mitkMaterialTest.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void testSetColorCoefficient()
144 {
145 double colorCoefficient = 0;
146 myMP = mitk::Material::New();
147 myMP->SetColorCoefficient(colorCoefficient);
148 MITK_TEST_CONDITION(colorCoefficient == myMP->GetColorCoefficient(),
149 "Testing if a colorcoefficent was set correctly")
150 }
151 void testSetSpecularColor()
152 {
153 mitk::Material::Color color;

Callers 1

mitkMaterialTestFunction · 0.80

Calls 3

SetColorCoefficientMethod · 0.80
GetColorCoefficientMethod · 0.80
NewFunction · 0.50

Tested by

no test coverage detected