summaryrefslogtreecommitdiff
path: root/tests/tswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tswap.c')
-rw-r--r--tests/tswap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tswap.c b/tests/tswap.c
index 417fe9f8f..80b75e251 100644
--- a/tests/tswap.c
+++ b/tests/tswap.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 u, v;
+ tests_start_mpfr ();
+
mpfr_init2 (u, 24);
mpfr_init2 (v, 53);
mpfr_set_ui (u, 16777215, GMP_RNDN); /* 2^24 - 1 */
@@ -42,5 +45,6 @@ main (void)
mpfr_clear (u);
mpfr_clear (v);
+ tests_end_mpfr ();
return 0;
}