Le 29/01/2012 09:41, Sébastien Brisard a écrit : > Hi Gilles, >> >> My worry is that the test fails for many choices of seeds. And I don't know >> how to figure out whether the unit test is wrong, or the code is wrong, or >> it is normal that the choice of seed has such an influence on the test (in >> which case it should be documented that not all seeds are equal...). >> >> >> Thanks, >> Gilles >> > I've had the same concerns while working on MATH-692. I do not have a > satisfactory answer, though. People seemed happy to just use a seed > that works, but I'm not sure we are proving anything at all. Maybe > what should be done is compute a probability of failure of the test by > sampling the seeds. Of course, the unit tests would become quite
I don't think it will prove anything more. We seem to lack the skills to understand these failures. Perhaps we could ask ourselves for help on the users list ? We could ask for someone knowledgeable to check our code, our tests, and the tests that fail in order to identify the problem. Luc > expensive, so we might think of a way to carry them out optionnally. > Sébastien > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org