forked from starnakin/IronGOLEM
10 lines
206 B
Plaintext
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, "");
|
|
}
|