summaryrefslogtreecommitdiff
path: root/tests/inp_str.dat
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-02-04 13:10:54 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-02-04 13:10:54 +0000
commitc1782f28abf00c806422f833901afaf1b84eaf9e (patch)
treef7fcb2a7876a46f3c96b1d94841060561193c7ed /tests/inp_str.dat
parentfb75373c9c0cf5d29510459be85439283ab9d00b (diff)
downloadmpc-c1782f28abf00c806422f833901afaf1b84eaf9e.tar.gz
tests/test.c: enhance and move its tests into more specific files.
tests/tprec.c: move tests relative to mpc_set_prec/mpc_get_prec from test.c. tests/tset.c: enhance and move tests relative to mpc_set from test.c. tests/inp_str.dat: test data for tio_str.c tests/tio_str.c: test file for mpc_inp_str/mpc_out_str. tests/Makefile.am: remove test, add tprec, tset, tio_str and inp_str.dat. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@410 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/inp_str.dat')
-rw-r--r--tests/inp_str.dat28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/inp_str.dat b/tests/inp_str.dat
new file mode 100644
index 0000000..418c697
--- /dev/null
+++ b/tests/inp_str.dat
@@ -0,0 +1,28 @@
+# Data file for mpc_inp_str.
+#
+# Copyright (C) 2009 Philippe Th\'eveny
+#
+# This file is part of the MPC Library.
+#
+# The MPC Library is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at your
+# option) any later version.
+#
+# The MPC Library is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with the MPC Library; see the file COPYING.LIB. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA.
+#
+1 +I*1
+1 -i*1
+invalid_real_part +I*1
+17 invalid_imaginary_part
+17 +unvalid_imaginary_part
+17 +Iunvalid_imaginary_part
+17 +I*unvalid_imaginary_part