diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-01-27 00:20:16 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-01-27 00:20:16 +0100 |
commit | ad695831d6a2a6e08188ee156f2fbe75d10b86fd (patch) | |
tree | 963adae7ed4dbf50b99ad0e8fefdb0422bec2f40 /tests/mpz/io.c | |
parent | d58e4bc3d03c5ebd833c72d86fd1b8d60b7d84c6 (diff) | |
download | gmp-ad695831d6a2a6e08188ee156f2fbe75d10b86fd.tar.gz |
* tests/mpz/*.c, tests/mpq/*.c, tests/mpf/*.c: Uses tests_start and
tests_end.
Diffstat (limited to 'tests/mpz/io.c')
-rw-r--r-- | tests/mpz/io.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/mpz/io.c b/tests/mpz/io.c index 134eecf67..6e65f0ad6 100644 --- a/tests/mpz/io.c +++ b/tests/mpz/io.c @@ -30,6 +30,7 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" +#include "tests.h" #define FILENAME "io.tmp" @@ -53,6 +54,7 @@ main (int argc, char **argv) unsigned long bsi, size_range; char *perform_seed; + tests_start (); gmp_randinit (rands, GMP_RAND_ALG_LC, 64); perform_seed = getenv ("GMP_CHECK_RANDOMIZE"); @@ -128,5 +130,11 @@ main (int argc, char **argv) unlink (FILENAME); + mpz_clear (bs); + mpz_clear (op1); + mpz_clear (op2); + gmp_randclear (rands); + + tests_end (); exit (0); } |