summaryrefslogtreecommitdiff
path: root/tests/tsqr.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/tsqr.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/tsqr.c')
-rw-r--r--tests/tsqr.c6
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;
}