Skip to content

Commit

Permalink
skip values in ascending order
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwright committed Aug 22, 2024
1 parent d98a7a6 commit 9370df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp_version/test/utility_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ TEST(drawWithoutReplacementSkip, small_small4) {
std::map<size_t, uint> counts;

size_t max = 9;
std::vector<size_t> skip = std::vector<size_t>({7, 0, 1, 3});
std::vector<size_t> skip = std::vector<size_t>({0, 1, 3, 7});
size_t num_samples = 4;
size_t num_replicates = 10000;

Expand Down Expand Up @@ -420,7 +420,7 @@ TEST(drawWithoutReplacementSkip, small_large2) {
std::map<size_t, uint> counts;

size_t max = 1000;
std::vector<size_t> skip = std::vector<size_t>({7, 1, 0, 138});
std::vector<size_t> skip = std::vector<size_t>({0, 1, 7, 138});
size_t num_samples = 50;
size_t num_replicates = 100000;

Expand Down

0 comments on commit 9370df2

Please sign in to comment.