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 'res://addons/gut/test.gd'
func test_no_asserts():
pass
func test_passing_assert():
assert_true(true, 'should pass')
func test_failing_assert():
assert_true(false, 'should fail')
func test_use_pass_test():
pass_test('this test passes')
func test_use_fail_test():
fail_test('this test fails')
func test_use_pending():
pending('this is pending')