X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..cff982bd049d26d7acbd0e23324e0de051b06d0d:/src/xbt/random_test.cpp diff --git a/src/xbt/random_test.cpp b/src/xbt/random_test.cpp index 9b66134836..e6179be5fe 100644 --- a/src/xbt/random_test.cpp +++ b/src/xbt/random_test.cpp @@ -15,6 +15,7 @@ TEST_CASE("xbt::random: Random Number Generation") { SECTION("Using XBT_RNG_xbt") { + simgrid::xbt::random::set_implem_xbt(); simgrid::xbt::random::set_mersenne_seed(12345); REQUIRE_THAT(simgrid::xbt::random::exponential(25), EpsilonApprox(0.00291934351538427348)); REQUIRE(simgrid::xbt::random::uniform_int(1, 6) == 4);