Implement String::resize()

This commit is contained in:
David Snopek
2023-07-07 08:26:55 -05:00
parent c5d8447861
commit 8bc1c1dbeb
8 changed files with 43 additions and 0 deletions

View File

@@ -86,6 +86,9 @@ func _ready():
assert_equal(example.test_string_is_fourty_two("blah"), false)
assert_equal(example.test_string_is_fourty_two("fourty two"), true)
# String::resize().
assert_equal(example.test_string_resize("What"), "What!?")
# PackedArray iterators
assert_equal(example.test_vector_ops(), 105)