Nicholas Clark wrote at Sat, 10 Aug 2002 01:53:29 +0200:
>> I think the most fair way to handle it,
>> is to give a warning when Test::ManyParams is used twice with seeding setting
>> in the same package.
>
> Yes. This sounds like what I'm doing at work - if two attempts to call the
> seeding fu
On Tue, Aug 06, 2002 at 06:42:14AM +0200, Janek Schleicher wrote:
> I think the most fair way to handle it,
> is to give a warning when Test::ManyParams is used twice with seeding setting
> in the same package.
Yes. This sounds like what I'm doing at work - if two attempts to call the
seeding fu
-BEGIN PGP SIGNED MESSAGE-
Moin,
On 02-Aug-02 Janek Schleicher carved into stone:
> Tels wrote at Sat, 03 Aug 2002 00:25:54 +0200:
> That reads really good,
> especially when written as
> Test::ManyParams seed => undef;
>:-)
:-)
>> seed or randomized are both good, I like the shorter o
Tels wrote at Sat, 03 Aug 2002 00:25:54 +0200:
> te@null:~> perl -e 'print rand(),"\n"'
> 0.159625336368666
> te@null:~> perl -e 'print rand(),"\n"'
> 0.292230773325176
> te@null:~> perl -e 'print rand(),"\n"'
> 0.708889858870865
> te@null:~>
>
> This means perl does something like srand(rand())
-BEGIN PGP SIGNED MESSAGE-
Moin,
On 02-Aug-02 Janek Schleicher carved into stone:
> Nicholas Clark wrote at Fri, 02 Aug 2002 11:06:47 +0200:
> Very elegant.
> I'll follow that way.
> [Allthough, I believe I'll take a syntax like
>
> use Test::ManyParams;# like srand(0)
Nicholas Clark wrote at Fri, 02 Aug 2002 11:06:47 +0200:
>> srand could be our friend.
>
> Which is how I'm doing it at work now.
> I call srand with a random number. (I'm getting mine from /dev/urandom,
> but I suspect that calling rand() and using that to prime srand will
> achieve sufficient
-BEGIN PGP SIGNED MESSAGE-
Moin,
On 02-Aug-02 Nicholas Clark carved into stone:
> On Fri, Aug 02, 2002 at 08:16:17AM +0200, Janek Schleicher wrote:
>> Ilya Martynov wrote at Fri, 02 Aug 2002 07:42:44 +0200:
>>
>> >> On Wed, 31 Jul 2002 21:52:17 +0200, Janek Schleicher
>> >> <[EM
On Fri, Aug 02, 2002 at 08:16:17AM +0200, Janek Schleicher wrote:
> Ilya Martynov wrote at Fri, 02 Aug 2002 07:42:44 +0200:
>
> >> On Wed, 31 Jul 2002 21:52:17 +0200, Janek Schleicher <[EMAIL PROTECTED]>
>said:
> >
> > JS> [..snip..]
> >
> > JS> Thinking in general,
> > JS> there could be
Ilya Martynov wrote at Fri, 02 Aug 2002 07:42:44 +0200:
>> On Wed, 31 Jul 2002 21:52:17 +0200, Janek Schleicher <[EMAIL PROTECTED]> said:
>
> JS> [..snip..]
>
> JS> Thinking in general,
> JS> there could be also some other features included.
> JS> Let's think we'd like to test the creation
> On Wed, 31 Jul 2002 21:52:17 +0200, Janek Schleicher <[EMAIL PROTECTED]> said:
JS> [..snip..]
JS> Thinking in general,
JS> there could be also some other features included.
JS> Let's think we'd like to test the creation of big pictures,
JS> perhaps 5_000 x 5_000.
JS> It could take a while
10 matches
Mail list logo