Skip to content

Commit

Permalink
remove the && operator in the REQUIRE function
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhouyuan-Chen committed Oct 15, 2023
1 parent 59490ac commit 1276217
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_2d_operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,6 @@ TEST_CASE("split_face", "[operations][split][2D]")
using namespace operations;
SECTION("split_single_triangle")
{
// this case also test the on boundary case
/* V.row(0) << 0, 0, 0;
V.row(1) << 1, 0, 0;
V.row(2) << 0.5, 0.866, 0;*/
Expand All @@ -1199,7 +1198,10 @@ TEST_CASE("split_face", "[operations][split][2D]")
REQUIRE(m.id(ret, PV) == 4);
REQUIRE(m.id(m.switch_vertex(ret), PV) == 0);
REQUIRE(m.id(m.switch_vertex(m.switch_edge(ret)), PV) == 1);
REQUIRE(p_ret.x() == 1 && p_ret.y() == 0 && p_ret.z() == 0);
REQUIRE(p_ret.x() == 1);
REQUIRE(p_ret.y() == 0);
REQUIRE(p_ret.z() == 0);
}
SECTION("not_on_boundary") {}
SECTION("without_boundary") {}
SECTION("with_boundary") {}
}

0 comments on commit 1276217

Please sign in to comment.