def test(): for larger_tol, to_upper, s1, s2 in gen_test_args(jaro_tests): if 1: print str(larger_tol).ljust(5), print str(to_upper).ljust(5), print (s1, s2) compare(s1, s2, larger_tol, to_upper) compare(s2, s1, larger_tol, to_upper)
def test(): for larger_tol, to_upper, s1, s2 in gen_test_args(jaro_tests): if 1: print str(larger_tol).ljust(5), print str(to_upper).ljust(5), print(s1, s2) compare(s1, s2, larger_tol, to_upper) compare(s2, s1, larger_tol, to_upper)
def test(): for larger_tol, to_upper, s1, s2 in gen_test_args(jaro_tests): compare(s1, s2, larger_tol)