summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dijkstra.cpp2
-rw-r--r--test/path-search.cpp2
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)