chore: add GUT test framework

This commit is contained in:
xiaji
2026-05-29 09:16:10 +08:00
parent 5741ba1dc0
commit 07fc763413
808 changed files with 76903 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
extends GutInternalTester
func test_free_no_orphans():
var gs = GutUtils.GutScene.instantiate()
gs.free()
assert_no_new_orphans()
func test_in_tree_free_no_orphans():
var gs = GutUtils.GutScene.instantiate()
add_child(gs)
gs.free()
assert_no_new_orphans()