Skip to content

Commit

Permalink
Random files selection
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed Feb 4, 2023
1 parent 4fbe03b commit 0f6040f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@ void queryRandom() {
}
BasicPolyQuery query = new BasicPolyQuery();
query.queryType(BasicPolyQuery.QueryFunction.RANDOM);
query.withOption("random_count", 25);
query.withOption("random_count", 7);

BasicPolyList list = polydata.query(poly, query);
assertThat(list.list().size()).isEqualTo(25);
assertThat(list.list().size()).isEqualTo(7);
}

String createPoly() {
Expand Down

0 comments on commit 0f6040f

Please sign in to comment.