[Mono-list] -- Math.cs --

yoros@wanadoo.es yoros@wanadoo.es
Wed, 5 Feb 2003 21:32:42 +0100


On Mon, Feb 03, 2003 at 11:35:48AM -0500, Miguel de Icaza wrote:
> Hello!
> 
> > Do you have some test cases to test the behavior? We usually add simple
> > tests to mono/mono/tests. Such regression tests are really helpful and
> > makes sure that we stay compatible with the MS jit.
> 
> I recently applied a patch that also affected Math.cs, and added my
> tests to the class library regression tests. 
> 
> I would like to second Dietmar's suggestion.

Ok, I'm working in the Test. I would make a black-box test (run the
methods with certain intervals of numbers and extreme numbers like
MaxValue, MinValue, [+-]Infinity, etc...).

See you,

    Pedro

-- 
Pedro Martinez Juliá
\  yoros@terra.es
)|    yoros@wanadoo.es
/        http://yoros.cjb.net
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC