Re: Randomized tests in CppunitTest_basegfx

2023-02-23 Thread Tomaž Vajngerl
Hi, On Thu, Feb 23, 2023 at 12:20 AM Michael Meeks wrote: > Ooh - interesting; so would using the boxclipper's > getRandomOrdinal - > which uses rand() and (I assume) could be consistently seeded ? > > Or could we consistently seed: > > comphelper::rng::uniform_size_distr

Re: Randomized tests in CppunitTest_basegfx

2023-02-23 Thread Noel Grandin
https://gerrit.libreoffice.org/c/core/+/147497

Re: Randomized tests in CppunitTest_basegfx

2023-02-22 Thread Michael Meeks
Hi Stephan, On 22/02/2023 10:54, Stephan Bergmann wrote: failed CppunitTest_basegfx with ... in testTrapezoidHelper that had originally been introduced in "basegf

Randomized tests in CppunitTest_basegfx

2023-02-22 Thread Stephan Bergmann
failed CppunitTest_basegfx with /basegfx/source/polygon/b2dtrapezoid.cxx:179:68: runtime error: division by zero #0 0x7fe03ea50e6c in basegfx::trapezoidhelper::(anonymous namespace)::TrDeEdgeEntry::getCutPointForGivenY(double) const /basegfx