diff options
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 |