aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-25 01:41:11 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-25 01:41:11 +0100
commit7fbb1caa7464a9a68ab348d863405fa56a53aebb (patch)
tree5ebbc5ff7a4824da2392a8e894f4c52b104b041e /tests
parent95169cc78e1c66e42879edd5b12b09f28156007a (diff)
downloadfuzzycat-7fbb1caa7464a9a68ab348d863405fa56a53aebb.tar.gz
fuzzycat-7fbb1caa7464a9a68ab348d863405fa56a53aebb.zip
apply formatting
Diffstat (limited to 'tests')
-rw-r--r--tests/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 1d27e96..46ffd0e 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -22,6 +22,7 @@ def test_cut():
with pytest.raises(ValueError):
cut(3, sep=',', ignore_missing_column=False)("a,b,c") == ""
+
def test_author_similarity_score():
assert author_similarity_score("", "") == 0.0
assert author_similarity_score("Gregor Samsa", "G. Samsa") == 0.42857142857142855