Bug#427188: libdata-random-perl - FTBFS: Failed test 1 in t/rand_time.t at line 24

Niko Tyni ntyni at iki.fi
Sat Jun 2 13:03:26 UTC 2007


On Sat, Jun 02, 2007 at 03:44:00PM +0300, Niko Tyni wrote:

> The test script has a small error, which makes it fail with a probability
> of about 4% (1/24). This happens when one of the 3600 rand_time() calls
> returns "00:00:00".

Hm, I was never very strong on probability calculations, but thinking
again this is actually 1-(86399/86400)^3600 == .06947 ~ 7% :)

Cheers,
-- 
Niko Tyni   ntyni at iki.fi




More information about the pkg-perl-maintainers mailing list