10 lines
211 B
GDScript3
10 lines
211 B
GDScript3
|
extends BessereTestsTest
|
||
|
|
||
|
func test_boolean() -> void:
|
||
|
if is_inside_tree(): test_status = 0
|
||
|
else: test_status = 2
|
||
|
|
||
|
func test_existance() -> void:
|
||
|
if get_tree() == null: test_status = 2
|
||
|
else: test_status = 0
|