Add formatDetection unit-test for 3DS importer
parent
b25975af48
commit
b226982a3c
|
@ -66,3 +66,11 @@ public:
|
||||||
TEST_F( ut3DSImportExport, import3DSFromFileTest ) {
|
TEST_F( ut3DSImportExport, import3DSFromFileTest ) {
|
||||||
EXPECT_TRUE( importerTest() );
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue