diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-01-13 17:58:58 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-01-13 17:58:58 +0000 |
commit | 34903ad51b29b3f9c7b3fa09d47a2f1113793cfe (patch) | |
tree | dbb3c514c516e24df5d72d6b881f3e8dd8ab1d31 /tests/tstrtoc.c | |
parent | 9f1fcd5b925bac9df49a38200d4a002ad811af35 (diff) | |
download | mpc-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/tstrtoc.c')
-rw-r--r-- | tests/tstrtoc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tstrtoc.c b/tests/tstrtoc.c index d740478..a3b5326 100644 --- a/tests/tstrtoc.c +++ b/tests/tstrtoc.c @@ -1,6 +1,6 @@ /* test file for mpc_strtoc. -Copyright (C) 2009 Philippe Th\'eveny, Andreas Enge +Copyright (C) 2009, 2011 Philippe Th\'eveny, Andreas Enge This file is part of the MPC Library. @@ -53,7 +53,7 @@ check_file (const char* file_name) fp = open_data_file (file_name); - + /* initializations */ str = (char *) malloc (str_len); if (str == NULL) @@ -118,8 +118,8 @@ check_file (const char* file_name) else { printf (" "); - OUT (got); - OUT (expected); + MPC_OUT (got); + MPC_OUT (expected); } exit (1); } @@ -151,7 +151,7 @@ check_null (void) { printf ("Error: mpc_strtoc(z, NULL) with a NULL pointer should fail" " and the z value should be set to NaN +I*NaN\ngot "); - OUT (z); + MPC_OUT (z); exit (1); } |