IronGOLEM/tests/strstr.🗿
2023-06-18 16:48:35 +02:00

9 lines
183 B
Plaintext

main()
{
name = "strstr";
test_str(strstr("test", "t"), "test", "");
test_str(strstr("test", "st"), "st", "");
test_str(strstr("hello world!", "s"), 0, "non present to_find");
}