Check nb of faces and vertices for FBX unit test

This test is currently broken !
pull/2037/head
Alexandre Avenel 2018-06-23 20:18:27 +02:00
parent 39c84931ba
commit 89b90cf2d5
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ TEST_F( utFBXImporterExporter, importBareBoxWithoutColorsAndTextureCoords ) {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/FBX/box.fbx", aiProcess_ValidateDataStructure );
EXPECT_NE( nullptr, scene );
EXPECT_EQ(scene->mNumMeshes, 1);
aiMesh* mesh = scene->mMeshes[0];
EXPECT_EQ(mesh->mNumFaces, 12);
EXPECT_EQ(mesh->mNumVertices, 36);
}
TEST_F( utFBXImporterExporter, importPhongMaterial ) {