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/tsqr.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/tsqr.c')
-rw-r--r-- | tests/tsqr.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c index 8c364c3..22d73a3 100644 --- a/tests/tsqr.c +++ b/tests/tsqr.c @@ -26,8 +26,6 @@ MA 02111-1307, USA. */ #include "mpc.h" #include "mpc-impl.h" -#include "random.c" - void cmpsqr (mpc_srcptr, mpc_rnd_t); void testsqr (long, long, mp_prec_t, mpc_rnd_t); void special (void); @@ -188,8 +186,6 @@ main() mp_prec_t prec; int i; - test_start (); - special (); testsqr (247, -65, 8, 24); @@ -220,7 +216,5 @@ main() mpc_clear (x); - test_end (); - return 0; } |