Unittests: fix import material test.

pull/1302/head
Kim Kulling 2017-05-26 20:29:21 +02:00
parent e93355c8b4
commit 96839bd860
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ TEST_F(BlendImportMaterials, testImportMaterial)
ASSERT_PROPERTY_EQ(aiColor3D(0.1f, 0.2f, 0.3f), "diffuse.color", diffuseColor);
ASSERT_PROPERTY_EQ(0.4f, "diffuse.intensity", diffuseIntensity);
ASSERT_PROPERTY_EQ(1U, "diffuse.shader", diffuseShader);
ASSERT_PROPERTY_EQ(0U, "diffuse.ramp", diffuseRamp);
ASSERT_PROPERTY_EQ(1, "diffuse.shader", diffuseShader);
ASSERT_PROPERTY_EQ(0, "diffuse.ramp", diffuseRamp);
ASSERT_PROPERTY_EQ(aiColor3D(0.5f, 0.6f, 0.7f), "specular.color", specularColor);
ASSERT_PROPERTY_EQ(0.8f, "specular.intensity", specularIntensity);