diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-08 04:04:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-08 04:04:06 +0200 |
commit | e4f23e097b731aaa221c2098f8e6cf1cf5ae5e5c (patch) | |
tree | e655cd46c582f6df87df68e5997e997451080937 /test/dijkstra.cpp | |
parent | 5dfb472ff446baa440ff837a076ee24d51d0e183 (diff) |
a
Diffstat (limited to 'test/dijkstra.cpp')
-rw-r--r-- | test/dijkstra.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp new file mode 100644 index 00000000..d34e28bf --- /dev/null +++ b/test/dijkstra.cpp @@ -0,0 +1,15 @@ +#include "app.hpp" +#include "path-search.hpp" + +namespace floormat { + +void test_app::test_dijkstra() +{ + auto w = world(); + auto a = astar(); + + a.Dijkstra(w, {}, 0, {{0, 0, 0}, {}}, {{1, 1, 0}, {}}, + 1*TILE_MAX_DIM*iTILE_SIZE2.x()); +} + +} // namespace floormat |