Skip to content

Commit

Permalink
more test
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytonyjan committed Dec 11, 2015
1 parent accc6eb commit 5c9f8b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_jaro_winkler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ def test_distance
assert_distance 0.0, '', 'tony'
assert_distance 0.8727, 'tonytonyjan', 'tony'
assert_distance 0.8727, 'tony', 'tonytonyjan'
assert_distance 0.9407, 'necessary', 'nessecary'
assert_distance 0.9067, 'does_exist', 'doesnt_exist'
assert_distance 0.975, '12345678', '12345687'
assert_distance 0.975, '12345678', '12345867'
assert_distance 0.95, '12345678', '12348567'
end

def test_unicode
Expand Down

0 comments on commit 5c9f8b6

Please sign in to comment.