summaryrefslogtreecommitdiff
path: root/main/tests/test_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/tests/test_main.cpp')
-rw-r--r--main/tests/test_main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/tests/test_main.cpp b/main/tests/test_main.cpp
index cd70b95a28..714a254371 100644
--- a/main/tests/test_main.cpp
+++ b/main/tests/test_main.cpp
@@ -33,6 +33,7 @@
#ifdef DEBUG_ENABLED
+#include "test_astar.h"
#include "test_gdscript.h"
#include "test_gui.h"
#include "test_image.h"
@@ -64,6 +65,7 @@ const char **tests_get_names() {
"gd_bytecode",
"image",
"ordered_hash_map",
+ "astar",
NULL
};
@@ -149,6 +151,11 @@ MainLoop *test_main(String p_test, const List<String> &p_args) {
return TestOrderedHashMap::test();
}
+ if (p_test == "astar") {
+
+ return TestAStar::test();
+ }
+
return NULL;
}