Пример #1
0
void test_01_explode()
{
  printf("Testing explode()...\n\n");
  test_explode("I am testing this code.", " \n");
  test_explode(" There is \\n and \\t \t\nIs this acceptable? ", " \n\t");
  test_explode(""," \n\v\t");
  printf("\n");
}
Пример #2
0
 void func()
 {
     test_splitn();
     test_interval();
     test_combine();
     test_extract();
     test_split();
     test_trim();
     test_urldecode();
     test_querystring();
     test_str_pat_match();
     test_munge();
     test_counter_filename();
     test_stripext();
     test_explode();
     test_sql_quote();
     test_js_quote();
     test_iso_8601_datetime();
     test_is_valid_settings_name();
 }
Пример #3
0
int main(int argc, char**argv)
{
  test_explode();
  return EXIT_SUCCESS;
}