Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…lkit into 434-edgemesh-to-trimesh-multimesh-register
  • Loading branch information
zlyfunction committed Oct 20, 2023
2 parents d1bed62 + c3d08d9 commit 789dec2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_autogen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ TEST_CASE("tuple_autogen_ptype_local_switch_tuple_equivalent", "[tuple]")
edge_mesh::local_switch_tuple(t, pt) ==
local_switch_tuple(PrimitiveType::Edge, t, pt));
}
REQUIRE_THROWS(edge_mesh::local_switch_tuple(t, PrimitiveType::Tetrahedron));
REQUIRE_THROWS(edge_mesh::local_switch_tuple(t, PrimitiveType::Face));
REQUIRE_THROWS(edge_mesh::local_switch_tuple(t, PrimitiveType::Edge));
}
}
{
Expand All @@ -259,6 +262,8 @@ TEST_CASE("tuple_autogen_ptype_local_switch_tuple_equivalent", "[tuple]")
tri_mesh::local_switch_tuple(t, pt) ==
local_switch_tuple(PrimitiveType::Face, t, pt));
}
REQUIRE_THROWS(tri_mesh::local_switch_tuple(t, PrimitiveType::Tetrahedron));
REQUIRE_THROWS(tri_mesh::local_switch_tuple(t, PrimitiveType::Face));
}
}

Expand All @@ -270,6 +275,7 @@ TEST_CASE("tuple_autogen_ptype_local_switch_tuple_equivalent", "[tuple]")
tet_mesh::local_switch_tuple(t, pt) ==
local_switch_tuple(PrimitiveType::Tetrahedron, t, pt));
}
REQUIRE_THROWS(tet_mesh::local_switch_tuple(t, PrimitiveType::Tetrahedron));
}
}
}
Expand Down

0 comments on commit 789dec2

Please sign in to comment.