Add config updates in test_stringify_variables

This commit is contained in:
JeremyStar™ 2024-05-09 15:21:03 +02:00
parent 17cecf5ef3
commit 98d1e9d239
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -160,7 +160,12 @@ func test_get_center() -> void:
# stringify_variables # stringify_variables
func test_stringify_variables() -> void: func test_stringify_variables() -> void:
# Init CORE # Init CORE
await load_framework() var core_config: CoreConfiguration = CoreConfiguration.new()
core_config.misc_stringify_show_type = true
core_config.misc_stringify_color_range8 = true
core_config.misc_stringify_array = true
core_config.misc_stringify_dictionary = true
await load_framework(core_config)
# Variables # Variables
var test_in_string: String = "null=%null%\nbool=%bool%\nint=%int%\nfloat=%float%\nstring=%string%\nstringname=%stringname%\ncolor=%color%\narray=%array%\ndict=%dictionary%\nnodepath=%nodepath%\nvec2=%vector2%\nvec2i=%vector2i%\nrect2=%rect2%\nrect2i=%rect2i%\ntrans2d=%transform2d%\nvec3=%vector3%\nvec3i=%vector3i%\nplane=%plane%\nquarternion=%quaternion%\naabb=%aabb%\ntrans3d=%transform3d%\nbasis=%basis%\nprojection=%projection%\nvec4=%vector4%\nvec4i=%vector4i%" var test_in_string: String = "null=%null%\nbool=%bool%\nint=%int%\nfloat=%float%\nstring=%string%\nstringname=%stringname%\ncolor=%color%\narray=%array%\ndict=%dictionary%\nnodepath=%nodepath%\nvec2=%vector2%\nvec2i=%vector2i%\nrect2=%rect2%\nrect2i=%rect2i%\ntrans2d=%transform2d%\nvec3=%vector3%\nvec3i=%vector3i%\nplane=%plane%\nquarternion=%quaternion%\naabb=%aabb%\ntrans3d=%transform3d%\nbasis=%basis%\nprojection=%projection%\nvec4=%vector4%\nvec4i=%vector4i%"