#@test_approx_eq compare(TokenSort(RatcliffObershelp()), graphemeiterator("New York Mets vs Atlanta Braves"), graphemeiterator("Atlanta Braves vs New York Mets")) 1.0
#@test_approx_eq compare(TokenSet(RatcliffObershelp()),graphemeiterator("mariners vs angels"), graphemeiterator("los angeles angels of anaheim at seattle mariners")) 1.0 - 0.09090909090909094
#@test_approx_eq compare(TokenSort(RatcliffObershelp()), graphemeiterator("New York Mets vs Atlanta Braves"), graphemeiterator("")) 0.0
#@test_approx_eq compare(TokenSet(RatcliffObershelp()),graphemeiterator("mariners vs angels"), graphemeiterator("")) 0.0
@testround(Int,100*compare("mariners","mariner are playing tomorrow",TokenMax(RatcliffObershelp())))==79
@testround(Int,100*compare("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow",Partial(RatcliffObershelp())))==88
@testround(Int,100*compare("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow",TokenSort(RatcliffObershelp())))==11
@testround(Int,100*compare("mariners","are mariner playing tomorrow",RatcliffObershelp()))==39
@testround(Int,100*compare("mariners","are mariner playing tomorrow",Partial(RatcliffObershelp())))==88
@testround(Int,100*compare("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow",TokenSet(RatcliffObershelp())))==39
@testround(Int,100*compare("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow",TokenSet(Partial(RatcliffObershelp()))))==88
# not exactly the same because tokenmax has uses the max of rounded tokenset etc
@testround(Int,100*compare("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow",TokenMax(RatcliffObershelp())))==52
fuzz.WRatio("mariners","mariner are playing tomorrow")
fuzz.partial_ratio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")
fuzz.token_sort_ratio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")
fuzz.token_set_ratio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")
fuzz.partial_token_set_ratio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")
fuzz.WRatio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")
fuzz.WRatio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")
fuzz.WRatio("mariners","mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow mariner are playing tomorrow")