IronGOLEM/tests/strcmp.🗿

10 lines
206 B
Plaintext
Raw Normal View History

2023-06-18 09:23:09 -04:00
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, "");
}