18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 00:22:42 +01:00

test: the copy of the thread's engine marked as the simulation's randomness for Sonar (S2245)

This commit is contained in:
jerrrrycho
2026-12-01 16:57:52 +01:00
parent 3be7f5e828
commit 4a7eab6e13
+1 -1
View File
@@ -47,7 +47,7 @@ TEST_CASE("random engine: the lazily seeded engine draws as one seeded up front
TEST_CASE("random engine: the lazy engine is seeded at the first draw only, and stands ahead of the thread's engine")
{
std::mt19937 threadengine{1u}; // NOSONAR: randomness of the simulation, not of anything security-relevant
auto const untouched{threadengine};
auto const untouched{threadengine}; // NOSONAR: randomness of the simulation, not of anything security-relevant
set_thread_random_engine(&threadengine);
lazy_random_engine lazy;