summaryrefslogtreecommitdiff
path: root/tests/tacos.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/tacos.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/tacos.c')
-rw-r--r--tests/tacos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tacos.c b/tests/tacos.c
index bfdb52c79..cda4ebf7a 100644
--- a/tests/tacos.c
+++ b/tests/tacos.c
@@ -34,6 +34,8 @@ main (void)
mp_rnd_t rnd;
mpfr_t x, y, z;
+ tests_start_mpfr ();
+
mpfr_init (x);
mpfr_init (y);
mpfr_init (z);
@@ -92,5 +94,6 @@ main (void)
mpfr_clear (y);
mpfr_clear (z);
+ tests_end_mpfr ();
return 0;
}