summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
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 {