Update utIssues.cpp

use correct test for floats.
pull/2543/head
Kim Kulling 2019-07-21 13:32:31 +02:00 committed by GitHub
parent 5895f04391
commit 78b283135e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ TEST_F( utIssues, OpacityBugWhenExporting_727 ) {
if ( newScene->mNumMaterials > 0 ) {
std::cout << "Desc = " << desc->description << "\n";
EXPECT_EQ( AI_SUCCESS, newScene->mMaterials[ 0 ]->Get( AI_MATKEY_OPACITY, newOpacity ) );
EXPECT_EQ( opacity, newOpacity );
EXPECT_FLOAT_EQ( opacity, newOpacity );
}
delete scene;
}