Lines Matching refs:find_closest_string
147 find_closest_string (const char *target, in find_closest_string() function
306 ASSERT_EQ_AT (loc, candidate, find_closest_string (target, &candidates)); in assert_suggested_for()
324 ASSERT_EQ_AT (loc, NULL, find_closest_string (target, &candidates)); in assert_not_suggested_for()
394 ASSERT_EQ (NULL, find_closest_string ("", &candidates)); in test_find_closest_string()
401 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string()
402 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string()
403 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates)); in test_find_closest_string()
404 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates)); in test_find_closest_string()
412 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string()
413 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string()
414 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates)); in test_find_closest_string()
415 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates)); in test_find_closest_string()
420 ASSERT_EQ (NULL, find_closest_string ("banana", &candidates)); in test_find_closest_string()
430 ASSERT_STREQ ("coordz1", find_closest_string ("coorzd1", &candidates)); in test_find_closest_string()