diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-08 09:01:43 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-08 09:01:43 +0200 |
commit | bfe9becfca9e789bf653c4bb8e92917acac04218 (patch) | |
tree | c96d69127a058db737164ed4bb88d5a4d96163ea /test | |
parent | 05f426b934baa641cd847fd3fc06d7ac446cf8e9 (diff) |
a
Diffstat (limited to 'test')
-rw-r--r-- | test/dijkstra.cpp | 2 | ||||
-rw-r--r-- | test/path-search.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<milliseconds>(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<typename T> using bbox = path_search::bbox<T>; 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<int> get_value(Vector2ub sz, Vector2ub div, rotation r) |