Package translate :: Package search :: Module test_lshtein :: Class TestLevenshtein

[hide private]
[frames] | no frames]

# Class TestLevenshtein

source code

Test whether Levenshtein distance calculations are correct

Instance Methods | [hide private]

test_basic_distance(self) Tests distance correctness with a few basic values | source code

test_basic_similarity(self) Tests similarity correctness with a few basic values | source code

test_long_similarity(self) Tests that very long strings are handled well. | source code