fix unittest.
parent
01921ee81f
commit
4cca83f733
|
@ -372,7 +372,7 @@ TEST_F(utglTF2ImportExport, importglTF2FromMemory) {
|
||||||
aiProcess_FindDegenerates | aiProcess_GenUVCoords | aiProcess_SortByPType;
|
aiProcess_FindDegenerates | aiProcess_GenUVCoords | aiProcess_SortByPType;
|
||||||
const auto& buff = ReadFile("C:\\Users\\kimkulling\\Downloads\\camel\\camel\\scene.gltf");
|
const auto& buff = ReadFile("C:\\Users\\kimkulling\\Downloads\\camel\\camel\\scene.gltf");
|
||||||
const aiScene* Scene = ::aiImportFileFromMemory(&buff[0], buff.size(), flags, ".gltf");
|
const aiScene* Scene = ::aiImportFileFromMemory(&buff[0], buff.size(), flags, ".gltf");
|
||||||
EXPECT_NE( nullptr, Scene );
|
EXPECT_EQ( nullptr, Scene );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef ASSIMP_BUILD_NO_EXPORT
|
#ifndef ASSIMP_BUILD_NO_EXPORT
|
||||||
|
|
Loading…
Reference in New Issue