Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-12 | SL-18837: Unify all llrand_test.cpp in-range tests. | Nat Goodspeed | |
The header file documents that no llrand function should ever return a value equal to the passed extent, so the one test in llrand_test.cpp that checked less than or equal to the high end of the range was anomalous. But changing that to an exclusive range means that we no longer need separate exclusive range and inclusive range functions. Replace ensure_in_range_using(), ensure_in_exc_range() and ensure_in_inc_range() with a grand unified (simplified) ensure_in_range() function. | |||
2023-10-05 | SL-18837: When llrand_test.cpp fails, display the failing value. | Nat Goodspeed | |
It's frustrating and unactionable to have a failing test report merely that the random value was greater than the specified high end. Okay, so what was the value? If it's supposed to be less than the high end, did it happen to be equal? Or was it garbage? We can't reproduce the failure by rerunning! The new ensure_in_exc_range(), ensure_in_inc_range() mechanism is somewhat complex because exactly one test allows equality with the high end of the expected range, where the rest mandate that the function return less than the high end. If that's a bug in the test -- if every llrand function is supposed to return less than the high end -- then we could simplify the test logic. | |||
2015-11-10 | remove execute permission from many files that should not have it | Oz Linden | |
2013-03-29 | Update Mac and Windows breakpad builds to latest | Graham Madarasz | |
2010-08-24 | standardizing test suite names as class name under test | Aaron Terrell (Enus) | |
2010-08-13 | Change license from GPL to LGPL (version 2.1) | Oz Linden | |
2009-10-16 | DEV-41080 more automated testing love - minor comment fixing. | Adam Moss | |
2009-10-08 | DEV-41090 convert legacy llrand tut test into a llcommon integration test. | Adam Moss | |