diff options
author | Philippe Theveny <philippe.theveny@laposte.net> | 2014-01-20 18:19:00 +0000 |
---|---|---|
committer | Philippe Theveny <philippe.theveny@laposte.net> | 2014-01-20 18:19:00 +0000 |
commit | 098a9b3905fcb9db710e3890f1553716f78bf794 (patch) | |
tree | f680c4ae852201766e91e0e07ba46dc6e34f5cf1 /tests/tio_str.c | |
parent | a78b9b4bc767c1d10c5101929c91cadcfd904283 (diff) | |
download | mpc-git-098a9b3905fcb9db710e3890f1553716f78bf794.tar.gz |
New test framework, merged from test branch.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/trunk@1416 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tio_str.c')
-rw-r--r-- | tests/tio_str.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tio_str.c b/tests/tio_str.c index 26ca8ff..b4e0c34 100644 --- a/tests/tio_str.c +++ b/tests/tio_str.c @@ -1,6 +1,6 @@ /* tio_str-- Test file for mpc_inp_str and mpc_out_str. -Copyright (C) 2009, 2014 INRIA +Copyright (C) 2009, 2011, 2013, 2014 INRIA This file is part of GNU MPC. @@ -33,7 +33,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . extern unsigned long line_number; /* character appearing next in the file, may be EOF */ extern int nextchar; -extern const char *rnd_mode[]; +extern const char *mpc_rnd_mode[]; static void check_file (const char* file_name) @@ -87,7 +87,7 @@ check_file (const char* file_name) || size != expected_size) { printf ("mpc_inp_str failed (line %lu) with rounding mode %s\n", - line_number, rnd_mode[rnd]); + line_number, mpc_rnd_mode[rnd]); if (inex != expected_inex) printf(" got inexact value: %d\nexpected inexact value: %d\n", inex, expected_inex); |