Fixed int/unsigned int comparaisons.
parent
5d79639a8a
commit
607243448f
|
@ -71,7 +71,7 @@ public:
|
|||
AI_CONFIG_IMPORT_MDL_HL1_READ_ANIMATIONS,
|
||||
false, // Set config value to false.
|
||||
[&](const aiScene *scene) {
|
||||
EXPECT_EQ(0, scene->mNumAnimations);
|
||||
EXPECT_EQ(0u, scene->mNumAnimations);
|
||||
EXPECT_EQ(nullptr, scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_INFOS));
|
||||
EXPECT_EQ(nullptr, scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_GROUPS));
|
||||
EXPECT_EQ(nullptr, scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_TRANSITION_GRAPH));
|
||||
|
@ -89,7 +89,7 @@ public:
|
|||
AI_CONFIG_IMPORT_MDL_HL1_READ_BLEND_CONTROLLERS,
|
||||
false, // Set config value to false.
|
||||
[&](const aiScene *scene) {
|
||||
EXPECT_NE(0, scene->mNumAnimations);
|
||||
EXPECT_NE(0u, scene->mNumAnimations);
|
||||
|
||||
const aiNode *sequence_infos = scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_INFOS);
|
||||
EXPECT_NE(nullptr, sequence_infos);
|
||||
|
@ -107,7 +107,7 @@ public:
|
|||
AI_CONFIG_IMPORT_MDL_HL1_READ_ANIMATION_EVENTS,
|
||||
false, // Set config value to false.
|
||||
[&](const aiScene *scene) {
|
||||
EXPECT_NE(0, scene->mNumAnimations);
|
||||
EXPECT_NE(0u, scene->mNumAnimations);
|
||||
|
||||
const aiNode *sequence_infos = scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_INFOS);
|
||||
EXPECT_NE(nullptr, sequence_infos);
|
||||
|
|
|
@ -211,7 +211,7 @@ public:
|
|||
|
||||
const aiNode *bodyparts_node = scene->mRootNode->FindNode(AI_MDL_HL1_NODE_BODYPARTS);
|
||||
EXPECT_NE(nullptr, bodyparts_node);
|
||||
EXPECT_EQ(3, bodyparts_node->mNumChildren);
|
||||
EXPECT_EQ(3u, bodyparts_node->mNumChildren);
|
||||
for (unsigned int i = 0; i < bodyparts_node->mNumChildren; ++i) {
|
||||
expect_named_children(bodyparts_node->mChildren[i],
|
||||
expected_bodypart_sub_models_names[i]);
|
||||
|
|
Loading…
Reference in New Issue