Add more BVH files to unit tests

pull/5034/head
Turo Lamminen 2023-03-23 15:18:17 +02:00 committed by Turo Lamminen
parent e8d4a11af5
commit bed2cf1a23
1 changed files with 15 additions and 1 deletions

View File

@ -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);
}