aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp.test
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp.test')
-rw-r--r--src/main.cpp.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main.cpp.test b/src/main.cpp.test
new file mode 100644
index 0000000..c0b9b00
--- /dev/null
+++ b/src/main.cpp.test
@@ -0,0 +1,27 @@
+/*
+ *
+ * description: Displays the A* Algorithm on a grid.
+ *
+ * author: Yann Herklotz <ymherklotz@gmail.com>
+ * date created: DD-MM-YYYY
+ *
+ */
+
+#include "astar.hpp"
+#include "priority_queue.hpp"
+
+#include <iostream>
+#include <vector>
+
+using namespace std;
+
+int main(int argc, char *argv[]) {
+ int graph[9] = {
+ 3, 0, 0,
+ 0, 1, 1,
+ 0, 0, 2
+ };
+ AStar a(graph, 3, 3);
+
+ return 0;
+}