From bed2cf1a23d485c4c92940899058a00a7dafbe3e Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Thu, 23 Mar 2023 15:18:17 +0200 Subject: [PATCH] Add more BVH files to unit tests --- test/unit/utBVHImportExport.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/test/unit/utBVHImportExport.cpp b/test/unit/utBVHImportExport.cpp index d69ac7987..5a0ff1e10 100644 --- a/test/unit/utBVHImportExport.cpp +++ b/test/unit/utBVHImportExport.cpp @@ -55,6 +55,20 @@ public: } }; -TEST_F(utBVHImportExport, importBlenFromFileTest) { +TEST_F(utBVHImportExport, import01_01) { EXPECT_TRUE(importerTest()); } + + +TEST_F(utBVHImportExport, import01_03) { + Assimp::Importer importer; + const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BVH/01_03.bvh", aiProcess_ValidateDataStructure); + ASSERT_NE(nullptr, scene); +} + + +TEST_F(utBVHImportExport, importBoxingToes) { + Assimp::Importer importer; + const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BVH/Boxing_Toes.bvh", aiProcess_ValidateDataStructure); + ASSERT_NE(nullptr, scene); +}