Vendor gdUnit4 for Godot 4 client testing (D-030). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
327 B
GDScript
19 lines
327 B
GDScript
class_name CustomResourceTestClass
|
|
extends Resource
|
|
|
|
func foo() -> String:
|
|
return "foo"
|
|
|
|
func foo2() -> Variant:
|
|
return "foo2"
|
|
|
|
func foo_void() -> void:
|
|
pass
|
|
|
|
func bar(arg1 :int, arg2 :int = 23, name :String = "test") -> String:
|
|
return "%s_%d" % [name, arg1+arg2]
|
|
|
|
@warning_ignore("untyped_declaration")
|
|
func foo5():
|
|
pass
|