Merge branch 'master' of https://github.com/assimp/assimp into implementation_warning_fix
# Conflicts: # code/AMFImporter_Postprocess.cpp # code/FBXConverter.cpp # code/IFCLoader.cpp # code/NDOLoader.cpp # code/glTFAsset.inl
This commit is contained in:
@@ -52,10 +52,13 @@ class BlenderIntermediateTest : public ::testing::Test {
|
||||
// empty
|
||||
};
|
||||
|
||||
#define NAME_1 "name1"
|
||||
#define NAME_2 "name2"
|
||||
|
||||
TEST_F( BlenderIntermediateTest,ConversionData_ObjectCompareTest ) {
|
||||
Object obj1, obj2;
|
||||
strncpy( obj1.id.name, "name1", 5 );
|
||||
strncpy( obj2.id.name, "name2", 5 );
|
||||
strncpy( obj1.id.name, NAME_1, sizeof(NAME_1) );
|
||||
strncpy( obj2.id.name, NAME_2, sizeof(NAME_2) );
|
||||
Blender::ObjectCompare cmp_false;
|
||||
bool res( cmp_false( &obj1, &obj2 ) );
|
||||
EXPECT_FALSE( res );
|
||||
|
||||
Reference in New Issue
Block a user