diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-05-27 13:48:56 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-05-27 13:48:56 +0000 |
commit | a8bbca8da73288c230b02e23f8844502e700f844 (patch) | |
tree | 121921db74799d1c64ac6832e018fbc6119f7eb8 /tests/tround_prec.c | |
parent | 6cc9ba1510baa89ceb8a9590f03c916c9142ade2 (diff) | |
download | mpfr-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/tround_prec.c')
-rw-r--r-- | tests/tround_prec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tround_prec.c b/tests/tround_prec.c index 67334f64e..9d15abdec 100644 --- a/tests/tround_prec.c +++ b/tests/tround_prec.c @@ -23,12 +23,15 @@ MA 02111-1307, USA. */ #include <stdlib.h> #include "gmp.h" #include "mpfr.h" +#include "mpfr-test.h" int main (void) { mpfr_t x; + tests_start_mpfr (); + mpfr_init2 (x, 3); mpfr_set_ui (x, 5, GMP_RNDN); @@ -75,5 +78,6 @@ main (void) mpfr_clear(x); + tests_end_mpfr (); return 0; } |