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,19 @@
extends SceneTree
class CyclicRefClass:
var other_thing = null
func _init() -> void:
var cyclic_ref_a = CyclicRefClass.new()
var cyclic_ref_b = CyclicRefClass.new()
cyclic_ref_a.other_thing = cyclic_ref_b
cyclic_ref_b.other_thing = cyclic_ref_a
# cyclic_ref_a.other_thing = null
# cyclic_ref_b.other_thing = null
await create_timer(.5).timeout
quit()