[ObjExporter] add a test for the "no mtl" version of the obj exporter

pull/1518/head
Thomas Lemaire 2017-10-27 10:14:53 +02:00
parent 18cef9b391
commit a6688243a7
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ protected:
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/OBJ/spider.obj", 0 );
EXPECT_NE( nullptr, scene );
EXPECT_EQ( aiReturn_SUCCESS, exporter.Export( scene, "obj", ASSIMP_TEST_MODELS_DIR "/OBJ/spider_test.obj" ) );
EXPECT_EQ( aiReturn_SUCCESS, exporter.Export( scene, "objnomtl", ASSIMP_TEST_MODELS_DIR "/OBJ/spider_nomtl_test.obj" ) );
return true;
}