Merge pull request #21492 from Maykeye/astar
Changed A* exit condition, added 2 tests for it
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user