From c8823a5089329c9c1aa151d9f1cec1d287ee47ce Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:27:25 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Incorporated=20pre-commit=20fixe?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../physical_design/graph_oriented_layout_design.cpp | 1 - test/benchmark/graph_oriented_layout_design.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/algorithms/physical_design/graph_oriented_layout_design.cpp b/test/algorithms/physical_design/graph_oriented_layout_design.cpp index e62ed5abb..72480327a 100644 --- a/test/algorithms/physical_design/graph_oriented_layout_design.cpp +++ b/test/algorithms/physical_design/graph_oriented_layout_design.cpp @@ -248,7 +248,6 @@ TEST_CASE("Custom cost objective", "[graph-oriented-layout-design]") const auto layout_high_effort = graph_oriented_layout_design(ntk, params, &stats, custom_cost_objective); - REQUIRE(layout_high_effort.has_value()); check_eq(ntk, *layout_high_effort); } diff --git a/test/benchmark/graph_oriented_layout_design.cpp b/test/benchmark/graph_oriented_layout_design.cpp index 20bf62496..73fdfda07 100644 --- a/test/benchmark/graph_oriented_layout_design.cpp +++ b/test/benchmark/graph_oriented_layout_design.cpp @@ -27,7 +27,6 @@ TEST_CASE("Benchmark Graph-Oriented Layout Design", "[benchmark]") auto ntk = blueprints::mux21_network(); auto params = fiction::graph_oriented_layout_design_params{}; - BENCHMARK("graph_oriented_layout_design: high effiency") { params.mode = graph_oriented_layout_design_params::effort_mode::HIGH_EFFICIENCY; @@ -47,9 +46,10 @@ TEST_CASE("Benchmark Graph-Oriented Layout Design", "[benchmark]") params.mode = graph_oriented_layout_design_params::effort_mode::HIGHEST_EFFORT; return graph_oriented_layout_design(ntk, params); - };*/ + }; + * / - ntk = blueprints::parity_network(); + ntk = blueprints::parity_network(); params.return_first = true; params.mode = graph_oriented_layout_design_params::effort_mode::HIGHEST_EFFORT; BENCHMARK("graph_oriented_layout_design: single-threading")