d18b89bceb
The problem was that should have been using a longest common subsequence algorithm for the "number of word boundary character matches" calculation. Our old approach would fail for the following case: Query: "caafoo" Candidate1 : "acaaCaaFooGxx" Candidate2 : "aCaafoog" Candidate1 needs to win. This is now also a test case. |
||
---|---|---|
.. | ||
gmock | ||
Candidate_test.cpp | ||
CMakeLists.txt | ||
Completer_test.cpp | ||
IndexForChar_test.cpp | ||
IsUppercase_test.cpp | ||
LetterBitsetFromString_test.cpp |