mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
49dbc4b5a5
The original value 15 was too little: it made our `weighted_boolean_fair_false` test fail every now and then. This is because a fair coin (P(false) = 0.5) will hit the same value 15 times in a row with a probability (1/2)^15: around once in a 32k tries. With the bumped up value, this is now once in 1 billion tries. Should lower the test flakiness enough (if our random number generator is truly uniform), while 30 tries is still an OK amount of computation for randomized tests to do, compared to 15. |
||
---|---|---|
.. | ||
Randomized | ||
CMakeLists.txt | ||
CrashTest.cpp | ||
CrashTest.h | ||
JavaScriptTestRunner.h | ||
JavaScriptTestRunnerMain.cpp | ||
Macros.h | ||
Results.h | ||
TestCase.h | ||
TestMain.cpp | ||
TestResult.h | ||
TestRunner.h | ||
TestRunnerUtil.h | ||
TestSuite.cpp | ||
TestSuite.h |