summaryrefslogtreecommitdiff
path: root/tests/tmul.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/tmul.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/tmul.c')
-rw-r--r--tests/tmul.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/tmul.c b/tests/tmul.c
index 7909ae2..7f5b745 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -29,8 +29,6 @@ MA 02111-1307, USA. */
#include "mpc.h"
#include "mpc-impl.h"
-#include "random.c"
-
void cmpmul (mpc_srcptr, mpc_srcptr, mpc_rnd_t);
void cmpmului (mpc_srcptr, unsigned long int, mpc_rnd_t);
void cmpmulsi (mpc_srcptr, long int, mpc_rnd_t);
@@ -411,8 +409,6 @@ main()
int i;
long int ysi;
- test_start ();
-
#ifdef TIMING
timemul ();
#endif
@@ -460,7 +456,5 @@ main()
mpc_clear (x);
mpc_clear (y);
- test_end ();
-
return 0;
}