IronGOLEM/tests/strcmp.🗿

10 lines
206 B
Plaintext
Raw Permalink Normal View History

2023-06-18 09:23:09 -04:00
main()
{
name = "strcmp";
2023-06-18 14:03:27 -04:00
test_num(strcmp("test", "test"), 0, "same chars");
test_num(strcmp("s", "b"), 17, "");
test_num(strcmp("", ""), 0, "empty strings");
test_num(strcmp("", "a"), 65439, "");
2023-06-18 09:23:09 -04:00
}