ladybird/Userland/Libraries/LibTest
Martin Janiczek 49dbc4b5a5 LibTest: Bump up MAX_GEN_ATTEMPTS_PER_VALUE to 30
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.
2023-11-06 11:35:36 +01:00
..
Randomized LibTest: Minimize footprint of Gen::unsigned_int, simplify code 2023-10-27 12:26:06 -06:00
CMakeLists.txt Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
CrashTest.cpp Tests, LibTest: Implement disabling core dumps on GNU Hurd 2023-09-06 11:41:16 -06:00
CrashTest.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
JavaScriptTestRunner.h AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
JavaScriptTestRunnerMain.cpp LibTest: Don't attempt to use SA_NOCLDWAIT for SIGABRT 2023-09-06 11:41:16 -06:00
Macros.h LibTest: Change #define-d constants into constexpr and a runtime flag 2023-10-27 12:26:06 -06:00
Results.h LibTest: Add support for xfail JavaScriptTestRunner tests 2023-07-23 07:36:13 +02:00
TestCase.h LibTest: Bump up MAX_GEN_ATTEMPTS_PER_VALUE to 30 2023-11-06 11:35:36 +01:00
TestMain.cpp LibTest: Clean up an unneeded import 2023-10-27 12:26:06 -06:00
TestResult.h LibTest: Add the REJECT and ASSUME macros 2023-10-26 17:26:52 -06:00
TestRunner.h LibTest: Add support for xfail JavaScriptTestRunner tests 2023-07-23 07:36:13 +02:00
TestRunnerUtil.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestSuite.cpp LibTest: Change #define-d constants into constexpr and a runtime flag 2023-10-27 12:26:06 -06:00
TestSuite.h LibTest: Change #define-d constants into constexpr and a runtime flag 2023-10-27 12:26:06 -06:00