diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-08-02 12:30:13 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-08-26 11:19:43 +0200 |
commit | fa54cab4734f02422f28fdffc0f11e6d3d51b8f0 (patch) | |
tree | c3496f769cf1bd793740ae6faae1b3ba2c120954 /src/test/skiplist_tests.cpp | |
parent | 68f77dd21e4aaf4f09d36d6e5ddd7d260824b94b (diff) |
test: refactor: Accept any RandomNumberGenerator in RandMoney
Accepting any Rng in RandMoney makes tests more flexible to use a
different Rng. Also, passing in the Rng clarifies the call sites, so
that they all use g_rand_ctx explicitly and consistently.
Diffstat (limited to 'src/test/skiplist_tests.cpp')
0 files changed, 0 insertions, 0 deletions