summaryrefslogtreecommitdiff
path: root/tests/ttanh.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/ttanh.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/ttanh.c')
-rw-r--r--tests/ttanh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ttanh.c b/tests/ttanh.c
index 4e66971..e6201ed 100644
--- a/tests/ttanh.c
+++ b/tests/ttanh.c
@@ -578,7 +578,7 @@ pure_imaginary_argument ()
}
static void
-check_53()
+check_53bits ()
{
mpc_t z;
mpc_t tanh_z;
@@ -611,9 +611,9 @@ main()
pure_real_argument ();
pure_imaginary_argument ();
- tgeneric ();
+ tgeneric (2, 512, 10);
- check_53 ();
+ check_53bits ();
test_end ();