IronGOLEM/tests/strcmp.🗿
2023-06-18 15:23:09 +02:00

10 lines
206 B
Plaintext

main()
{
name = "strcmp";
test_int(strcmp("test", "test"), 0, "same chars");
test_int(strcmp("s", "b"), 17, "");
test_int(strcmp("", ""), 0, "empty strings");
test_int(strcmp("", "a"), 65439, "");
}