summaryrefslogtreecommitdiff
path: root/tests/read_data.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-01-13 17:58:58 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-01-13 17:58:58 +0000
commit34903ad51b29b3f9c7b3fa09d47a2f1113793cfe (patch)
treedbb3c514c516e24df5d72d6b881f3e8dd8ab1d31 /tests/read_data.c
parent9f1fcd5b925bac9df49a38200d4a002ad811af35 (diff)
downloadmpc-34903ad51b29b3f9c7b3fa09d47a2f1113793cfe.tar.gz
mpc-impl.h and test files: replaced macro OUT by MPC_OUT
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@867 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/read_data.c')
-rw-r--r--tests/read_data.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/read_data.c b/tests/read_data.c
index 72449be..77e74f9 100644
--- a/tests/read_data.c
+++ b/tests/read_data.c
@@ -1,6 +1,6 @@
/* Read data file and check function.
-Copyright (C) 2008, 2009, 2010 Andreas Enge, Philippe Th\'eveny
+Copyright (C) 2008, 2009, 2010, 2011 Andreas Enge, Philippe Th\'eveny
This file is part of the MPC Library.
@@ -575,7 +575,7 @@ data_check (mpc_function function, const char *file_name)
if (inex_re != TERNARY_NOT_CHECKED && inex_re != inex)
printf("ternary value: got %s, expected %s\n",
MPFR_INEX_STR (inex), MPFR_INEX_STR (inex_re));
- OUT (op);
+ MPC_OUT (op);
printf (" ");
MPFR_OUT (got);
MPFR_OUT (expected);
@@ -602,10 +602,10 @@ data_check (mpc_function function, const char *file_name)
printf("ternary value: got %s, expected (%s, %s)\n",
MPC_INEX_STR (inex),
MPFR_INEX_STR (inex_re), MPFR_INEX_STR (inex_im));
- OUT (op);
+ MPC_OUT (op);
printf (" ");
- OUT (got);
- OUT (expected);
+ MPC_OUT (got);
+ MPC_OUT (expected);
exit (1);
}
@@ -631,11 +631,11 @@ data_check (mpc_function function, const char *file_name)
printf("ternary value: got %s, expected (%s, %s)\n",
MPC_INEX_STR (inex),
MPFR_INEX_STR (inex_re), MPFR_INEX_STR (inex_im));
- OUT (op1);
- OUT (op2);
+ MPC_OUT (op1);
+ MPC_OUT (op2);
printf (" ");
- OUT (got);
- OUT (expected);
+ MPC_OUT (got);
+ MPC_OUT (expected);
exit (1);
}
@@ -658,11 +658,11 @@ data_check (mpc_function function, const char *file_name)
printf("ternary value: got %s, expected (%s, %s)\n",
MPC_INEX_STR (inex),
MPFR_INEX_STR (inex_re), MPFR_INEX_STR (inex_im));
- OUT (op1);
- OUT (op2);
+ MPC_OUT (op1);
+ MPC_OUT (op2);
printf (" ");
- OUT (got);
- OUT (expected);
+ MPC_OUT (got);
+ MPC_OUT (expected);
exit (1);
}
@@ -691,10 +691,10 @@ data_check (mpc_function function, const char *file_name)
MPC_INEX_STR (inex),
MPFR_INEX_STR (inex_re), MPFR_INEX_STR (inex_im));
MPFR_OUT (op1);
- OUT (op2);
+ MPC_OUT (op2);
printf (" ");
- OUT (got);
- OUT (expected);
+ MPC_OUT (got);
+ MPC_OUT (expected);
exit (1);
}
@@ -721,11 +721,11 @@ data_check (mpc_function function, const char *file_name)
printf("ternary value: got %s, expected (%s, %s)\n",
MPC_INEX_STR (inex),
MPFR_INEX_STR (inex_re), MPFR_INEX_STR (inex_im));
- OUT (op1);
+ MPC_OUT (op1);
MPFR_OUT (op2);
printf (" ");
- OUT (got);
- OUT (expected);
+ MPC_OUT (got);
+ MPC_OUT (expected);
exit (1);
}
@@ -750,10 +750,10 @@ data_check (mpc_function function, const char *file_name)
printf("ternary value: got %s, expected (%s, %s)\n",
MPC_INEX_STR (inex),
MPFR_INEX_STR (inex_re), MPFR_INEX_STR (inex_im));
- OUT (op1);
+ MPC_OUT (op1);
printf ("op2 %lu\n ", ui);
- OUT (got);
- OUT (expected);
+ MPC_OUT (got);
+ MPC_OUT (expected);
exit (1);
}