Add Collada ZAE unit test

pull/2545/head
RichardTea 2019-07-12 14:56:29 +01:00
parent 2a72c9b616
commit 0c718a9c95
1 changed files with 15 additions and 2 deletions

View File

@ -60,3 +60,16 @@ public:
TEST_F(utColladaImportExport, importBlenFromFileTest) {
EXPECT_TRUE(importerTest());
}
class utColladaZaeImportExport : public AbstractImportExportBase {
public:
virtual bool importerTest() {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/Collada/duck.zae", aiProcess_ValidateDataStructure);
return nullptr != scene;
}
};
TEST_F(utColladaZaeImportExport, importBlenFromFileTest) {
EXPECT_TRUE(importerTest());
}