Add formatDetection unit-test for 3DS importer

pull/2269/head
Alexandre Avenel 2018-12-09 18:11:22 +01:00
parent b25975af48
commit b226982a3c
1 changed files with 8 additions and 0 deletions

View File

@ -66,3 +66,11 @@ public:
TEST_F( ut3DSImportExport, import3DSFromFileTest ) {
EXPECT_TRUE( importerTest() );
}
TEST_F( ut3DSImportExport, import3DSformatdetection) {
::Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/3DS/testFormatDetection", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene);
}