Merge pull request #1150 from dsnopek/charstring-full

Attempt to fully implement CharString
This commit is contained in:
David Snopek
2023-07-22 09:04:27 -05:00
committed by GitHub
6 changed files with 208 additions and 166 deletions

View File

@@ -82,6 +82,10 @@ func _ready():
# UtilityFunctions::str()
assert_equal(example.test_str_utility(), "Hello, World! The answer is 42")
# Test converting string to char* and doing comparison.
assert_equal(example.test_string_is_fourty_two("blah"), false)
assert_equal(example.test_string_is_fourty_two("fourty two"), true)
# PackedArray iterators
assert_equal(example.test_vector_ops(), 105)