From bfe9becfca9e789bf653c4bb8e92917acac04218 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2023 09:01:43 +0200 Subject: a --- test/dijkstra.cpp | 2 +- test/path-search.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp index 1db3ff22..817f944a 100644 --- a/test/dijkstra.cpp +++ b/test/dijkstra.cpp @@ -15,7 +15,7 @@ void bench_run(StringView name, F&& fun) using clock = high_resolution_clock; const auto t0 = clock::now(); fun(); - for (int i = 0; i < 10; i++) + for (int i = 0; i < 1000; i++) fun(); const auto tm = clock::now() - t0; Debug{} << "test" << name << "took" << duration_cast(tm).count() << "ms."; diff --git a/test/path-search.cpp b/test/path-search.cpp index b2a50524..20645c63 100644 --- a/test/path-search.cpp +++ b/test/path-search.cpp @@ -13,7 +13,7 @@ namespace { template using bbox = path_search::bbox; using pred = path_search::pred; -constexpr auto div = path_search::subdivide_factor; +constexpr auto div = path_search::div_factor; constexpr auto min_size = path_search::min_size; constexpr bbox get_value(Vector2ub sz, Vector2ub div, rotation r) -- cgit v1.2.3