Skip to content

Commit 42f99c6

Browse files
committed
Fix checkstyle and ClosenessCentralityAlgorithmEstimateDefinitionTest
1 parent 26a611d commit 42f99c6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

algo/src/main/java/org/neo4j/gds/closeness/ClosenessCentralityAlgorithmEstimateDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ public MemoryEstimation memoryEstimation() {
3737
.add("MSBFS", MSBFSMemoryEstimation.MSBFSWithANPStrategy(0))
3838
.build();
3939
}
40-
}
40+
}

algo/src/test/java/org/neo4j/gds/closeness/ClosenessCentralityAlgorithmEstimateDefinitionTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ class ClosenessCentralityAlgorithmEstimateDefinitionTest {
2929

3030
@ParameterizedTest
3131
@CsvSource({
32-
"10_000, 1, 160_368",
33-
"10_000, 4, 160_632",
34-
"500_000, 4, 8_000_632",
35-
"10_000_000, 4, 160_000_632",
36-
"10_000, 2, 160_456",
37-
"10_000, 128, 171_544"
32+
"10_000, 1, 160_456",
33+
"10_000, 4, 160_720",
34+
"500_000, 4, 8_000_720",
35+
"10_000_000, 4, 160_000_720",
36+
"10_000, 2, 160_544",
37+
"10_000, 128, 171_632"
3838
})
3939
void testMemoryEstimation(long nodeCount, int concurrency, long expectedMemory) {
4040
var memoryEstimation = new ClosenessCentralityAlgorithmEstimateDefinition().memoryEstimation();
4141
assertThat(memoryEstimation)
4242
.memoryRange(nodeCount, new Concurrency(concurrency))
4343
.hasSameMinAndMaxEqualTo(expectedMemory);
4444
}
45-
}
45+
}

0 commit comments

Comments
 (0)