IronGOLEM/tests/ntoa.🗿

17 lines
208 B
Plaintext
Raw Normal View History

main()
{
local ptr;
name = "ntoa";
2023-06-18 09:08:44 -04:00
ptr = ntoa(9000);
2023-06-18 09:08:44 -04:00
test_str(ptr, "9000", "");
free(ptr);
ptr = ntoa(55);
test_str(ptr, "55", "");
free(ptr);
ptr = ntoa(0);
test_str(ptr, "0", "");
free(ptr);
}