Improving tests with exact hard-coded values
There is a bunch of tests which are checking if the values match exactly results which were obtained earlier. Those are usually supposed to make sure that the changes are not affecting results when they are not expected to do so. However, if they do, all those tests have to be re-checked. The proposal is to mock generating random numbers so that we ensure that the results are always the same. See availsim4core/test/E2E/test_E2E_convergence_rare_event.py
, availsim4core/test/E2E/test_E2E_failure_on_demand.py,
availsim4core/test/E2E/test_E2E_probabilityFailure.py
.