Commit 2884ef83 authored by Christian Mattes's avatar Christian Mattes

Fixed wrong mesh type used in unittest

parent f1a565e0
Pipeline #6811 failed with stage
in 79 minutes and 30 seconds
...@@ -619,20 +619,20 @@ TEST_F(OpenMeshTutorials, deleting_geometry_elements) { ...@@ -619,20 +619,20 @@ TEST_F(OpenMeshTutorials, deleting_geometry_elements) {
mesh.request_vertex_status(); mesh.request_vertex_status();
// generate vertices // generate vertices
MyMeshWithStatus::VertexHandle vhandle[8]; Mesh::VertexHandle vhandle[8];
MyMeshWithStatus::FaceHandle fhandle[6]; Mesh::FaceHandle fhandle[6];
vhandle[0] = mesh.add_vertex(MyMeshWithStatus::Point(-1, -1, 1)); vhandle[0] = mesh.add_vertex(Mesh::Point(-1, -1, 1));
vhandle[1] = mesh.add_vertex(MyMeshWithStatus::Point( 1, -1, 1)); vhandle[1] = mesh.add_vertex(Mesh::Point( 1, -1, 1));
vhandle[2] = mesh.add_vertex(MyMeshWithStatus::Point( 1, 1, 1)); vhandle[2] = mesh.add_vertex(Mesh::Point( 1, 1, 1));
vhandle[3] = mesh.add_vertex(MyMeshWithStatus::Point(-1, 1, 1)); vhandle[3] = mesh.add_vertex(Mesh::Point(-1, 1, 1));
vhandle[4] = mesh.add_vertex(MyMeshWithStatus::Point(-1, -1, -1)); vhandle[4] = mesh.add_vertex(Mesh::Point(-1, -1, -1));
vhandle[5] = mesh.add_vertex(MyMeshWithStatus::Point( 1, -1, -1)); vhandle[5] = mesh.add_vertex(Mesh::Point( 1, -1, -1));
vhandle[6] = mesh.add_vertex(MyMeshWithStatus::Point( 1, 1, -1)); vhandle[6] = mesh.add_vertex(Mesh::Point( 1, 1, -1));
vhandle[7] = mesh.add_vertex(MyMeshWithStatus::Point(-1, 1, -1)); vhandle[7] = mesh.add_vertex(Mesh::Point(-1, 1, -1));
// generate (quadrilateral) faces // generate (quadrilateral) faces
std::vector<MyMesh::VertexHandle> tmp_face_vhandles; std::vector<Mesh::VertexHandle> tmp_face_vhandles;
tmp_face_vhandles.clear(); tmp_face_vhandles.clear();
tmp_face_vhandles.push_back(vhandle[0]); tmp_face_vhandles.push_back(vhandle[0]);
tmp_face_vhandles.push_back(vhandle[1]); tmp_face_vhandles.push_back(vhandle[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment