summaryrefslogtreecommitdiff
path: root/tests/tisnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tisnan.c')
-rw-r--r--tests/tisnan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tisnan.c b/tests/tisnan.c
index 45478e9bd..bed502153 100644
--- a/tests/tisnan.c
+++ b/tests/tisnan.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_init (x);
/* check +infinity gives non-zero for mpfr_inf_p only */
@@ -94,5 +97,6 @@ main (void)
mpfr_clear (x);
+ tests_end_mpfr ();
return 0;
}