Regression tests for BigInteger

Florian Weimer fw at deneb.enyo.de
Sat Mar 1 09:05:06 UTC 2008


* Alan Eliasen:

>    Attached is the code for regression test for multiply() and pow() in
> BigInteger.  It produces a lot of text (approximately 345 MB) to
> standard output.  You will need to save this output and diff it against
> known good results.  I have provided a file of known good results tested
> against a variety of platforms, including the Kaffe JVM using the GMP
> libraries for BigInteger.

Can't you put MD5 hashes of the known-good results in the test?
This way, you only need the 345 MB if something goes wrong.



More information about the core-libs-dev mailing list