diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-05-30 12:07:33 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-05-30 12:07:33 +0000 |
commit | 0b55c596b46f71b6efe426728a0173b566f24970 (patch) | |
tree | a514def9770e2ac0c75c86f80f3e2517dbefcd1f /tests/ttan.c | |
parent | cd15a7dfc9f31517c50d230b5c3c1b42c35bec98 (diff) | |
download | mpc-0b55c596b46f71b6efe426728a0173b566f24970.tar.gz |
Add random seed setting (with environmnent variable GMP_CHECK_RANDOMIZE) for
reproducible tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@147 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/ttan.c')
-rw-r--r-- | tests/ttan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ttan.c b/tests/ttan.c index 2316cca..64e8f6b 100644 --- a/tests/ttan.c +++ b/tests/ttan.c @@ -26,6 +26,8 @@ MA 02111-1307, USA. */ #include "mpc.h" #include "mpc-impl.h" +#include "random.c" + #define TEST_FUNCTION mpc_tan #include "tgeneric.c" @@ -531,13 +533,16 @@ check_53() int main() { + test_start (); + special (); pure_real_argument (); pure_imaginary_argument (); tgeneric (); - check_53 (); + test_end (); + return 0; } |