MCPcopy Create free account
hub / github.com/comaps/comaps / PrefixMatchCost

Function PrefixMatchCost

libs/search/search_tests/string_match_test.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41uint32_t PrefixMatchCost(char const * a, char const * b)
42{
43 return StringMatchCost(a, strlen(a), b, strlen(b), MatchCostMock(), 1000, true);
44}
45
46void TestEqual(vector<UniString> const & v, base::StringIL const & expected)
47{

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

StringMatchCostFunction · 0.85
MatchCostMockClass · 0.85

Tested by

no test coverage detected