LUMIERA.clone/tests/16calculation.tests
Ichthyostega a20e233ca0 Library: now using controlled seed and replaced rand (closes #1378)
After augmenting our `lib/random.hpp` abstraction framework to add the necessary flexibility,
a common seeding scheme was ''built into the Test-Runner.''
 * all tests relying on some kind of randomness should invoke `seedRand()`
 * this draws a seed from the `entropyGen` — which is also documented in the log
 * individual tests can now be launched with `--seed` to force a dedicated seed
 * moreover, tests should build a coherent structure of linked generators,
   especially when running concurrently. The existing tests were adapted accordingly

All usages of `rand()` in the code base were investigated and replaced
by suitable calls to our abstraction framework; the code base is thus
isolated from the actual implementation, simplifying further adaptation.
2024-11-17 19:45:41 +01:00

22 lines
366 B
Text

TESTING "Library Test Suite: calculation" ./test-suite --group=calculation
TEST "Data Table with CSV storage" DataCSV_test <<END
return: 0
END
PLANNED "Statistic and Regression" Statistic_test << END
return: 0
END
TEST "Random numbers and Seed" Random_test << END
return: 0
END
TEST "Concurrent PRNG access" RandomConcurrent_test quick << END
return: 0
END