improve performance for small vectors/faces

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1269 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2015-05-26 12:08:32 +00:00
parent d8d26b7c18
commit e1a72035c0
2 changed files with 7 additions and 17 deletions

View File

@@ -54,9 +54,9 @@ TEST_F(OpenMeshReadWriteOBJ, LoadDegeneratedOBJ) {
mesh_.clear();
bool ok = OpenMesh::IO::read_mesh(mesh_, "cube-minimal.obj");
bool ok = OpenMesh::IO::read_mesh(mesh_, "cube-minimal-degenerated.obj");
EXPECT_TRUE(ok) << "Unable to load cube-minimal.obj";
EXPECT_TRUE(ok) << "Unable to load cube-minimal-degenerated.obj";
EXPECT_EQ(8u , mesh_.n_vertices()) << "The number of loaded vertices is not correct!";
EXPECT_EQ(18u , mesh_.n_edges()) << "The number of loaded edges is not correct!";