summaryrefslogtreecommitdiff
path: root/tests/tfactorial.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tfactorial.c')
-rw-r--r--tests/tfactorial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tfactorial.c b/tests/tfactorial.c
index c68eb5ae3..712570a4a 100644
--- a/tests/tfactorial.c
+++ b/tests/tfactorial.c
@@ -26,6 +26,7 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
#include "mpfr.h"
#include "mpfr-impl.h"
+#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_fac_ui
@@ -37,6 +38,8 @@ main (int argc, char *argv[])
mpfr_t x, y, z, t;
int inexact;
+ tests_start_mpfr ();
+
mpfr_init (x);
mpfr_init (y);
mpfr_init (z);
@@ -114,5 +117,6 @@ main (int argc, char *argv[])
mpfr_clear (z);
mpfr_clear (t);
+ tests_end_mpfr ();
return 0;
}