Browse Source

fix unittest.

Kim Kulling 7 năm trước cách đây
mục cha
commit
4cca83f733
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/unit/utglTF2ImportExport.cpp

+ 1 - 1
test/unit/utglTF2ImportExport.cpp

@@ -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