forked from starnakin/IronGOLEM
add: itoa && create test_int func to test func return int and test_str to ...
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
main()
|
||||
{
|
||||
local str;
|
||||
name = "strlen";
|
||||
str = "bozoman du 36";
|
||||
test(strlen(str), 13, "");
|
||||
test(strlen(""), 0, "Empty string");
|
||||
|
||||
test_int(strlen("bozoman du 36"), 13, "");
|
||||
test_int(strlen(""), 0, "Empty string");
|
||||
}
|
||||
|
Reference in New Issue
Block a user