Add Collada ZAE unit test
parent
2a72c9b616
commit
0c718a9c95
|
@ -57,6 +57,19 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
TEST_F( utColladaImportExport, importBlenFromFileTest ) {
|
||||
EXPECT_TRUE( importerTest() );
|
||||
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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue