taking py jc tests out for the moment
@@ -8,13 +8,12 @@ def test_fallback_jw_nodata():
assert jw_sim_py(None, "Something") == 0.0
-def test_fallback_jc_nodata():
- assert jc_sim_py(None, None) == 0.0
- assert jc_sim_py("something", None) == 0.0
- assert jc_sim_py(None, "Something") == 0.0
-
-
def test_fallback_jw_wikipedia_examples():
+ """
+ tests from Apache Commons jarowinkler similarity available at:
+ https://github.com/apache/commons-text/blob/master/src/test/java/org/apache/commons/text/similarity/JaroWinklerSimilarityTest.java
+
+ """
assert jw_sim_py("fly", "ant") == 0.0
assert jw_sim_py("elephant", "hippo") == 0.44
assert jw_sim_py("ABC Corporation", "ABC Corp") == 0.91
