summaryrefslogtreecommitdiff
path: root/tests/tset_z.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-05-27 13:48:56 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-05-27 13:48:56 +0000
commita8bbca8da73288c230b02e23f8844502e700f844 (patch)
tree121921db74799d1c64ac6832e018fbc6119f7eb8 /tests/tset_z.c
parent6cc9ba1510baa89ceb8a9590f03c916c9142ade2 (diff)
downloadmpfr-a8bbca8da73288c230b02e23f8844502e700f844.tar.gz
Patch by Kevin Ryde for memory leak checking + misc declaration fixes.
Code moved from mpfr-test.h to tests.c. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1932 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_z.c')
-rw-r--r--tests/tset_z.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tset_z.c b/tests/tset_z.c
index 720302f80..f67a8ee45 100644
--- a/tests/tset_z.c
+++ b/tests/tset_z.c
@@ -66,11 +66,14 @@ main (int argc, char *argv[])
{
long j;
+ tests_start_mpfr ();
+
check_large();
SEED_RAND (time(NULL));
check(0, 0);
for (j=0; j<1000000; j++)
check(LONG_RAND(), LONG_RAND()%4);
+ tests_end_mpfr ();
return 0;
}