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 {
public:
virtual bool importerTest() {
/*Assimp::Importer importer;
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/TER/RealisticTerrain.ter", aiProcess_ValidateDataStructure);
return nullptr != scene;*/
return true;
return nullptr != scene;
}
};
TEST_F(utTerragenImportExport, importX3DFromFileTest) {
TEST_F(utTerragenImportExport, importFromFileTest) {
EXPECT_TRUE(importerTest());
}