[m-rev.] for review: another string__format test reorg

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Nov 22 01:19:06 AEDT 2002


That looks fine.

On 21-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> Estimated hours taken: 2
> Branches: main
> 
> Reorganize the string__format tests so that we only need one expected
> output file for each test.
> 
> general/string_format_special_floats.exp:
> general/string_format_special_floats.m:
> 	Test that NaNs and infinites are handled correctly, by
> 	internally checking in the test case that we generate a valid
> 	string rather than by checking the expected output.
> 
> general/Mmakefile:
> 	Add the new test.
> 	
> general/string_format/string_format_f.exp:
> general/string_format/string_format_f.m:
> 	Remove the test cases of infinite_floats.
> 	Remove the testing of +/-float__max as each C version of
> 	sprintf seems to print the number out to a different
> 	precision.
> 
> general/string_format/string_format_e.exp:
> general/string_format/string_format_e.m:
> general/string_format/string_format_g.exp:
> general/string_format/string_format_g.m:
> 	Remove the test cases of infinite_floats.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list