1.5. small fix

This commit is contained in:
anebz 2019-03-30 23:33:55 +01:00
parent ec9303b790
commit 3c638942ec
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# 1.4. Levenshtein distance
# 1.5. Levenshtein distance
## Given two strings, check if they are one edit (or zero edits) away. Edits can be insertion, substitution or deletion

View File

@ -42,7 +42,6 @@ def levenshtein(s1, s2):
return False
return True
class Test(unittest.TestCase):
dataT = [("", ""), ("an", "a"), ("a", "an"), ("ane", "ae"),
("ane", "ne"), ("asdfgh", "asdgh"), ("asdf", "asgf")]