add: test to strlen
This commit is contained in:
8
tests/strlen.🗿
Normal file
8
tests/strlen.🗿
Normal file
@ -0,0 +1,8 @@
|
||||
main()
|
||||
{
|
||||
local str;
|
||||
name = "strlen";
|
||||
str = "bozoman du 36";
|
||||
test(strlen(str), 13, "");
|
||||
test(strlen(""), 0, "Empty string");
|
||||
}
|
Reference in New Issue
Block a user