summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 15:18:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 15:18:32 +0100
commita65aaeb43df61a9127aed0c4eb8dd4cb0b3b0bd6 (patch)
tree020f69f766545fa6fc960b3fdfcb4a7cda20313d /test
parent7fa7b3bc844d61ecc986f77819a11d1e4a526c57 (diff)
b
Diffstat (limited to 'test')
-rw-r--r--test/dijkstra.cpp4
-rw-r--r--test/path-search-result.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp
index b09d7fd5..d5412559 100644
--- a/test/dijkstra.cpp
+++ b/test/dijkstra.cpp
@@ -59,7 +59,7 @@ void test_app::test_dijkstra()
auto result = run(debug);
fm_assert(!result.is_found());
- fm_assert(!result.path().empty());
+ fm_assert(!result.path().isEmpty());
fm_assert(result.size() > 4);
fm_assert(result.cost() > 1000);
fm_assert(result.cost() < 3000);
@@ -74,7 +74,7 @@ void test_app::test_dijkstra()
auto result = run(debug);
fm_assert(result.is_found());
- fm_assert(!result.path().empty());
+ fm_assert(!result.path().isEmpty());
fm_assert(result.size() > 4);
fm_assert(result.cost() > 1000);
fm_assert(result.cost() < 3000);
diff --git a/test/path-search-result.cpp b/test/path-search-result.cpp
index 705eca78..2ce61ff6 100644
--- a/test/path-search-result.cpp
+++ b/test/path-search-result.cpp
@@ -1,6 +1,7 @@
#include "app.hpp"
#include "compat/assert.hpp"
#include "src/path-search-result.hpp"
+#include "src/path-search-node.hpp"
namespace floormat {