In order to catch any other issues, and stop this kind of thing happening again, I want to quickly and massively expand the algorithms testsuite.
The attached test tests a whole set of random nth_element cases (it would catch the problem we are currently having).
The problem is on my computer, unoptimised, this test takes 30 seconds, and I want to add a similar test to all the sorting related algorithms. Is there a standard way of submitting tests that take a lot of time and memory?
Created attachment 31049
random test
In order to catch any other issues, and stop this kind of thing happening again, I want to quickly and massively expand the algorithms testsuite.
The attached test tests a whole set of random nth_element cases (it would catch the problem we are currently having).
The problem is on my computer, unoptimised, this test takes 30 seconds, and I want to add a similar test to all the sorting related algorithms. Is there a standard way of submitting tests that take a lot of time and memory?