Skip to content

Commit

Permalink
Add check for edgecase where set of results is correct, but some resu…
Browse files Browse the repository at this point in the history
…lts are repeated
  • Loading branch information
gibber9809 committed Jan 21, 2025
1 parent 765b85e commit 6cc937f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/core/tests/test-clp_s-search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ void validate_results(
}
std::set<int64_t> expected_results_set{expected_results.begin(), expected_results.end()};
REQUIRE(results_set == expected_results_set);
REQUIRE(results.size() == expected_results.size());
}

void
Expand Down

0 comments on commit 6cc937f

Please sign in to comment.