Re-enable Terragen loader unit test

pull/4934/head
Turo Lamminen 2023-02-03 11:45:11 +02:00
parent 8d405d60d9
commit 9453342491
1 changed files with 3 additions and 4 deletions

View File

@ -48,13 +48,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
class utTerragenImportExport : public AbstractImportExportBase { class utTerragenImportExport : public AbstractImportExportBase {
public: public:
virtual bool importerTest() { virtual bool importerTest() {
/*Assimp::Importer importer; Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/TER/RealisticTerrain.ter", aiProcess_ValidateDataStructure); const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/TER/RealisticTerrain.ter", aiProcess_ValidateDataStructure);
return nullptr != scene;*/ return nullptr != scene;
return true;
} }
}; };
TEST_F(utTerragenImportExport, importX3DFromFileTest) { TEST_F(utTerragenImportExport, importFromFileTest) {
EXPECT_TRUE(importerTest()); EXPECT_TRUE(importerTest());
} }