From b226982a3c60c732605576dd587ebe7c1e24a166 Mon Sep 17 00:00:00 2001 From: Alexandre Avenel Date: Sun, 9 Dec 2018 18:11:22 +0100 Subject: [PATCH] Add formatDetection unit-test for 3DS importer --- test/unit/ut3DSImportExport.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/unit/ut3DSImportExport.cpp b/test/unit/ut3DSImportExport.cpp index b40694132..0f91e0f7d 100644 --- a/test/unit/ut3DSImportExport.cpp +++ b/test/unit/ut3DSImportExport.cpp @@ -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); +} +