示例#1
0
bool TestExtString::test_str_word_count() {
  VS(f_str_word_count("Two Ts and one F."), 5);
  VS(f_str_word_count("", 2), Array::Create());
  VS(f_str_word_count(1, 2), Array::Create());
  VS(f_str_word_count("1 2", 2), Array::Create());
  return Count(true);
}
示例#2
0
bool TestExtString::test_str_word_count() {
  VS(f_str_word_count("Two Ts and one F."), 5);
  return Count(true);
}