diff --git a/tests/src/test/java/org/neo4j/graphalgo/algo/similarity/PearsonTest.java b/tests/src/test/java/org/neo4j/graphalgo/algo/similarity/PearsonTest.java index 92e31dea4..29968a895 100644 --- a/tests/src/test/java/org/neo4j/graphalgo/algo/similarity/PearsonTest.java +++ b/tests/src/test/java/org/neo4j/graphalgo/algo/similarity/PearsonTest.java @@ -450,7 +450,7 @@ private void assert23Skip(Map row) { assertEquals(4L, row.get("count1")); assertEquals(3L, row.get("count2")); assertEquals(0L, row.get("intersection")); - assertEquals(0.94, (Double) row.get("similarity"), 0.01); + assertEquals(0.77, (Double) row.get("similarity"), 0.01); } private void assert13(Map row) { @@ -468,7 +468,7 @@ private void assert13Skip(Map row) { assertEquals(4L, row.get("count1")); assertEquals(3L, row.get("count2")); assertEquals(0L, row.get("intersection")); - assertEquals(0.65, (Double) row.get("similarity"), 0.01); + assertEquals(0.56, (Double) row.get("similarity"), 0.01); } private void assert12(Map row) { @@ -504,7 +504,7 @@ private void assert03Skip(Map row) { assertEquals(4L, row.get("count1")); assertEquals(3L, row.get("count2")); assertEquals(0L, row.get("intersection")); - assertEquals(0.65, (Double) row.get("similarity"), 0.01); + assertEquals(0.56, (Double) row.get("similarity"), 0.01); } private void assert02(Map row) {