test: update tests

This commit is contained in:
2026-05-02 14:31:17 +01:00
parent 15a9147e15
commit b072632499
7 changed files with 54 additions and 28 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ int main(void)
{
printf("здравс\u26A0твуите\n");
fx_string *str = fx_string_create_from_cstr("здравствуите");
const char *s = fx_string_ptr(str);
const char *s = fx_string_get_cstr(str);
printf("%s\n", s);
printf("len: %zu\n", fx_string_get_size(str, FX_STRLEN_NORMAL));
printf("codepoints: %zu\n", fx_string_get_size(str, FX_STRLEN_CODEPOINTS));