Skip to content

Commit d2b0adc

Browse files
Minor test cleanup
1 parent 4cba012 commit d2b0adc

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

proc/community/src/integrationTest/java/org/neo4j/gds/kmeans/KmeansStreamProcTest.java

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,9 @@ void shouldStream(String procedureName) {
107107
);
108108

109109
});
110-
assertThat(rowCount).isEqualTo(4l);
110+
assertThat(rowCount).isEqualTo(4L);
111111
}
112112

113-
class KmeansTestStreamResult {
114-
115-
public long communityId;
116-
public double distanceFromCentroid;
117-
public double silhouette;
118-
119-
public KmeansTestStreamResult(long communityId, double distanceFromCentroid, double silhouette) {
120-
this.communityId = communityId;
121-
this.distanceFromCentroid = distanceFromCentroid;
122-
this.silhouette = silhouette;
123-
}
124-
}
113+
private record KmeansTestStreamResult(long communityId, double distanceFromCentroid, double silhouette) {}
125114

126115
}

0 commit comments

Comments
 (0)