summaryrefslogtreecommitdiff
path: root/tests/tcmp2.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/tcmp2.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/tcmp2.c')
-rw-r--r--tests/tcmp2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcmp2.c b/tests/tcmp2.c
index 2b82f92bd..d36350ef1 100644
--- a/tests/tcmp2.c
+++ b/tests/tcmp2.c
@@ -281,6 +281,7 @@ main (void)
{
int i,j; double x=1.0, y, z;
+ tests_start_mpfr ();
mpfr_test_init ();
worst_cases ();
@@ -303,5 +304,6 @@ main (void)
if (y != 0.0 && y != -0.0) tcmp2(x, y, -1);
}
+ tests_end_mpfr ();
return 0;
}