From 56bc78f63cf53069579b0562342a4bc4813c9489 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 4 Aug 2024 19:18:39 -0500 Subject: [PATCH] updated build system --- support/test/src/utils/common_test.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/support/test/src/utils/common_test.cpp b/support/test/src/utils/common_test.cpp index 5215c9c2..d1ed808a 100644 --- a/support/test/src/utils/common_test.cpp +++ b/support/test/src/utils/common_test.cpp @@ -199,6 +199,12 @@ TEST(utils_common, generate_random_between_for_signed_integers) { EXPECT_GE(res, -5); EXPECT_LE(res, 12); } + + for (std::size_t idx = 0U; idx < max_iterations; ++idx) { + auto res = utils::generate_random_between(-5, -1); + EXPECT_GE(res, -5); + EXPECT_LE(res, -1); + } } TEST(utils_common, generate_random_between_for_unsigned_integers) {