Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simon1hofmann committed Sep 13, 2024
1 parent 27199a4 commit d13581f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,15 @@ TEST_CASE("Custom cost objective", "[graph-oriented-layout-design]")

REQUIRE(layout.has_value());
check_eq(ntk, *layout);

// high effort mode
params.mode = graph_oriented_layout_design_params::effort_mode::HIGH_EFFORT;

const auto layout_high_effort =
graph_oriented_layout_design<gate_layout>(ntk, params, &stats, custom_cost_objective);

REQUIRE(layout_high_effort.has_value());
check_eq(ntk, *layout_high_effort);
}

TEST_CASE("Name conservation after graph-oriented layout design", "[graph-oriented-layout-design]")
Expand Down

0 comments on commit d13581f

Please sign in to comment.