forked from starnakin/IronGOLEM
add: itoa && create test_int func to test func return int and test_str to ...
This commit is contained in:
@ -3,8 +3,8 @@ main()
|
||||
local str;
|
||||
name = "strchr";
|
||||
str = "bozoman du 36";
|
||||
test(strchr(str, 'z'), str + 2, "");
|
||||
test(strchr(str, 0), str + 13, "");
|
||||
test(strchr(str, '5'), 0, "");
|
||||
test(strchr(str, '6'), str + 12, "");
|
||||
test_str(strchr(str, 'z'), str + 2, "");
|
||||
test_str(strchr(str, 0), str + 13, "");
|
||||
test_str(strchr(str, '5'), 0, "");
|
||||
test_str(strchr(str, '6'), str + 12, "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user