Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Nov 16, 2023
1 parent 4d3bd87 commit 1ae9951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cpp_unit_tests/test_line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,16 +235,16 @@ TEST_CASE("Test line") {
}

SUBCASE("To status") {
SUBCASE("same") { branch_update.to_status = static_cast<IntS>(link.to_status()); }
SUBCASE("same") { branch_update.to_status = static_cast<IntS>(line.to_status()); }
SUBCASE("different") { branch_update.to_status = IntS{0}; }
expected.to_status = static_cast<IntS>(link.to_status());
expected.to_status = static_cast<IntS>(line.to_status());
}

SUBCASE("multiple") {
branch_update.from_status = IntS{0};
branch_update.to_status = IntS{0};
expected.from_status = static_cast<IntS>(line.from_status());
expected.to_status = static_cast<IntS>(link.to_status());
expected.to_status = static_cast<IntS>(line.to_status());
}

auto const inv = line.inverse(branch_update);
Expand Down

0 comments on commit 1ae9951

Please sign in to comment.