[Mono-list] number formatting

Miguel de Icaza miguel@ximian.com
11 Oct 2001 01:24:43 -0400


> > for (int n = -10000; n < 10000; n++)
> > Assert ( [microsoft's] n.ToString(format) == [mono's] n.ToString(format) )
> >
> 
> Yeah, I just didn't know if the tests needed to be stand alone and run
> without having access to ms' implementations.

Oh.  Good point, that would make the test suite not self-hosting.  

Maybe we should generate the output from the MS side:

    foreach (string f in Formats){
	Console.WriteLine ("string value_format [{0}] = \"{1}\";"... );