Obj-Import: add missing unittest for poiuntcloud support.

This commit is contained in:
Kim Kulling
2018-09-02 13:19:52 +02:00
parent 15a02551d1
commit 543afdc4e2
2 changed files with 24 additions and 0 deletions

View File

@@ -389,3 +389,10 @@ TEST_F( utObjImportExport, mtllib_after_g ) {
ASSERT_EQ(aiReturn_SUCCESS, mat->Get(AI_MATKEY_NAME, name));
EXPECT_STREQ("MyMaterial", name.C_Str());
}
TEST_F(utObjImportExport, import_point_cloud) {
::Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/OBJ/point_cloud.obj", 0 );
ASSERT_NE(nullptr, scene);
}