diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-08-04 14:47:40 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-08-04 17:59:44 -0700 |
commit | 175ffa6dc4f6ddad71ca1ddf7dc9a9007c4c6348 (patch) | |
tree | e9bdd14fe2127d70632b9ae13b774e6f1ac72713 /fzytest.c | |
parent | b18b7a0701474b41a760931cf840f922607851d9 (diff) |
Update README.md
Diffstat (limited to 'fzytest.c')
-rw-r--r-- | fzytest.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -42,6 +42,9 @@ int test_scoring(){ assert(match("gemfil", "Gemfile.lock") < match("gemfil", "Gemfile")); /* Prefer shorter matches */ + assert(match("abce", "abcdef") > match("abce", "abc de")); + + /* Prefer shorter candidates */ assert(match("test", "tests") > match("test", "testing")); /* Scores first letter highly */ |