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,12 @@
#A sample script for illustrating multiple scripts and what it looks like
#when all tests pass.
extends "res://addons/gut/test.gd"
func test_works():
assert_true(true, 'This is true')
func test_two():
assert_eq("two", "two", "This is also true")
func test_3():
assert_ne("one", "two", "This is yet again true")