add: itoa test

This commit is contained in:
starnakin 2023-06-18 15:08:44 +02:00
parent 9961196e0f
commit 7ad95aa11e

View File

@ -3,6 +3,10 @@ main()
local ptr; local ptr;
name = "itoa"; name = "itoa";
ptr = itoa(9000);
test_str(ptr, "9000", "");
free(ptr);
ptr = itoa(55); ptr = itoa(55);
test_str(ptr, "55", ""); test_str(ptr, "55", "");
free(ptr); free(ptr);