Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 872cabe

Browse files
committed
accidentally committed this test
1 parent aa3afcd commit 872cabe

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

algo/src/test/java/org/neo4j/graphalgo/similarity/WeightedInputTest.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@
66
import static junit.framework.TestCase.assertNull;
77

88
public class WeightedInputTest {
9-
10-
@Test
11-
public void blah() {
12-
double[] weights1 = new double[]{3, 0, 9, 0, 5};
13-
double[] weights2 = new double[]{1, 2, 3, 4, 4, 4, 4, 5, 6};
14-
15-
WeightedInput input1 = new WeightedInput(1, weights1);
16-
WeightedInput input2 = new WeightedInput(2, weights2);
17-
18-
SimilarityResult similarityResult = input1.pearson(null, -1.0, input2);
19-
20-
assertEquals(1.0, similarityResult.similarity, 0.01);
21-
}
22-
239
@Test
2410
public void pearsonNoCompression() {
2511
double[] weights1 = new double[]{1, 2, 3, 4, 4, 4, 4, 5, 6};

0 commit comments

Comments
 (0)