Skip to content

Commit acbeb03

Browse files
minor
1 parent 53c2465 commit acbeb03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/test/java/org/neo4j/gds/core/huge/NodeFilteredAdjacencyCursorTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,17 @@ void setup() {
4141
var innerCursor = new TestAdjacencyCursor(LongStream.range(0, 10).boxed().collect(Collectors.toList()));
4242
var filterIdMap = new FilteredDirectIdMap(10, l -> l % 2 == 0);
4343
this.adjacencyCursor = new NodeFilteredAdjacencyCursor(innerCursor, filterIdMap);
44+
adjacencyCursor.init(0,0);
4445
}
4546

4647
@Test
4748
void shouldNotStartWithNegativeValues(){
48-
adjacencyCursor.init(0,0);
4949
assertThat(adjacencyCursor.peekVLong()).isNotEqualTo(AdjacencyCursor.NOT_FOUND);
5050
assertThat(adjacencyCursor.nextVLong()).isNotEqualTo(AdjacencyCursor.NOT_FOUND);
51-
5251
}
5352

5453
@Test
5554
void nextShouldApplyFiltering(){
56-
adjacencyCursor.init(0,0);
5755
adjacencyCursor.nextVLong();
5856
assertThat(adjacencyCursor.peekVLong()).isEqualTo(2);
5957
}

0 commit comments

Comments
 (0)