File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
core/src/test/java/org/neo4j/gds/core/huge Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments