diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-07-10 12:30:41 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-07-10 12:30:41 +0000 |
commit | 6724d0909312644407358560acc7447b600784cf (patch) | |
tree | 0d277e630eff72512598b24ef4a27b92cfca20e4 /tests/tadd.c | |
parent | caff8c8f6b05fedbba2bf2018ff9961743be621d (diff) | |
download | mpc-6724d0909312644407358560acc7447b600784cf.tar.gz |
Use the new mpc_urandom function in the test suite so that the tests are reproducible and sensible to the random seed set with the environment variable GMP_CHECK_RANDOMIZE (revision r153 disabled this behavior).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@159 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tadd.c')
-rw-r--r-- | tests/tadd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tadd.c b/tests/tadd.c index ade98b5..b972d78 100644 --- a/tests/tadd.c +++ b/tests/tadd.c @@ -20,6 +20,8 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <stdio.h> +#include <gmp.h> +#include <mpfr.h> #include "mpc.h" #include "random.c" @@ -65,7 +67,7 @@ main() test_start (); check_ternary_value(); - tgeneric (); + tgeneric (2, 1024, -1); test_end (); |