Fix name of test

pull/4596/head
kimmi 2022-06-28 20:31:55 +02:00
parent d3c8201614
commit 3d692c72ba
1 changed files with 4 additions and 1 deletions

View File

@ -40,6 +40,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "AbstractImportExportBase.h" #include "AbstractImportExportBase.h"
#include <assimp/scene.h>
#include "UnitTestPCH.h" #include "UnitTestPCH.h"
#include <assimp/Importer.hpp> #include <assimp/Importer.hpp>
@ -51,11 +53,12 @@ public:
bool importerTest() override { bool importerTest() override {
Assimp::Importer importer; Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/OpenGEX/Example.ogex", 0); const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/OpenGEX/Example.ogex", 0);
printf("Number of meshes = %d\n", scene->mNumMeshes);
return nullptr != scene; return nullptr != scene;
} }
}; };
TEST_F(utOpenGEXImportExport, importLWSFromFileTest) { TEST_F(utOpenGEXImportExport, importOpenGexFromFileTest) {
EXPECT_TRUE(importerTest()); EXPECT_TRUE(importerTest());
} }