From 37c74f6fa3737b439b69feef75870d366945be8f Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Mon, 6 Jul 2020 20:16:22 -0400 Subject: [PATCH] add test to unit for acc file format loader --- test/unit/utACImportExport.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/unit/utACImportExport.cpp b/test/unit/utACImportExport.cpp index a7f432a56..573e716b6 100644 --- a/test/unit/utACImportExport.cpp +++ b/test/unit/utACImportExport.cpp @@ -101,6 +101,12 @@ TEST(utACImportExport, importWuson) { ASSERT_NE(nullptr, scene); } +TEST(utACImportExport, importWusonACC) { + Assimp::Importer importer; + const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/AC/Wuson.acc", aiProcess_ValidateDataStructure); + ASSERT_NE(nullptr, scene); +} + TEST(utACImportExport, testFormatDetection) { Assimp::Importer importer; const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/AC/TestFormatDetection", aiProcess_ValidateDataStructure);