Skip to content

Commit

Permalink
Fix a completely unrelated knn test
Browse files Browse the repository at this point in the history
  • Loading branch information
IoannisPanagiotas committed Nov 21, 2023
1 parent 5529293 commit 7228a19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ void shouldIdMapTheSourceNodeFilter() {
var sourceNodesInResult = result
.similarityResultStream()
.map(res -> res.node1)
.map(graph::toOriginalNodeId)
.collect(Collectors.<Long>toSet());
assertThat(sourceNodesInResult).containsExactly(0L);
assertThat(sourceNodesInResult).containsExactly(lowestNeoId);
}
}

0 comments on commit 7228a19

Please sign in to comment.