add: test to strlen

This commit is contained in:
Camille Chauvet
2023-06-13 11:15:20 +00:00
parent 8af591f1db
commit 59be7cdd0d
2 changed files with 13 additions and 2 deletions

8
tests/strlen.🗿 Normal file
View File

@ -0,0 +1,8 @@
main()
{
local str;
name = "strlen";
str = "bozoman du 36";
test(strlen(str), 13, "");
test(strlen(""), 0, "Empty string");
}