summaryrefslogtreecommitdiff
path: root/tests/tdiv.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-07-10 12:30:41 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-07-10 12:30:41 +0000
commit6724d0909312644407358560acc7447b600784cf (patch)
tree0d277e630eff72512598b24ef4a27b92cfca20e4 /tests/tdiv.c
parentcaff8c8f6b05fedbba2bf2018ff9961743be621d (diff)
downloadmpc-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/tdiv.c')
-rw-r--r--tests/tdiv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c
index 49b4abf..3a5b390 100644
--- a/tests/tdiv.c
+++ b/tests/tdiv.c
@@ -26,8 +26,6 @@ MA 02111-1307, USA. */
#include "mpc.h"
#include "mpc-impl.h"
-#include "random.c"
-
#define ERR(x) { mpc_out_str (stderr, 2, 0, x, MPC_RNDNN); \
fprintf (stderr, "\n"); }
@@ -237,8 +235,6 @@ main()
mp_rnd_t rnd_re, rnd_im;
mpc_rnd_t rnd;
- test_start ();
-
mpc_init (b);
mpc_init (c);
mpc_init (q);
@@ -324,7 +320,5 @@ main()
mpc_clear (q);
mpc_clear (q_ref);
- test_end ();
-
return 0;
}