From 9370df23cd97e896f045a063f0aaea2ec661b34b Mon Sep 17 00:00:00 2001 From: "Marvin N. Wright" Date: Thu, 22 Aug 2024 07:59:43 +0200 Subject: [PATCH] skip values in ascending order --- cpp_version/test/utility_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp_version/test/utility_test.cpp b/cpp_version/test/utility_test.cpp index b1bb7c79..1b663d79 100644 --- a/cpp_version/test/utility_test.cpp +++ b/cpp_version/test/utility_test.cpp @@ -309,7 +309,7 @@ TEST(drawWithoutReplacementSkip, small_small4) { std::map counts; size_t max = 9; - std::vector skip = std::vector({7, 0, 1, 3}); + std::vector skip = std::vector({0, 1, 3, 7}); size_t num_samples = 4; size_t num_replicates = 10000; @@ -420,7 +420,7 @@ TEST(drawWithoutReplacementSkip, small_large2) { std::map counts; size_t max = 1000; - std::vector skip = std::vector({7, 1, 0, 138}); + std::vector skip = std::vector({0, 1, 7, 138}); size_t num_samples = 50; size_t num_replicates = 100000;