add: itoa && create test_int func to test func return int and test_str to ...

This commit is contained in:
2023-06-18 12:39:18 +02:00
parent 60ca301082
commit 496b92aed9
6 changed files with 95 additions and 11 deletions

View File

@ -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");
}