FBX: add simple unittest with a simple box.

pull/1679/head
Kim Kulling 2018-01-04 13:10:13 +01:00
parent f376a3e8cd
commit a5e2a40d75
1 changed files with 6 additions and 0 deletions

View File

@ -61,3 +61,9 @@ public:
TEST_F( utFBXImporterExporter, importXFromFileTest ) {
EXPECT_TRUE( importerTest() );
}
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 );
}