summaryrefslogtreecommitdiff
path: root/tests/tcosh.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-10-03 16:38:17 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-10-03 16:38:17 +0000
commitb316ea5294fe7109ab31d2a6b6101556a9d63c0c (patch)
treec5d93e5ea35366a8246d7dbf630917c4074394b7 /tests/tcosh.c
parent8821568241370f3eb6672702772a67ed22b20872 (diff)
downloadmpc-b316ea5294fe7109ab31d2a6b6101556a9d63c0c.tar.gz
[log.dat] small editorial changes
[tcosh.c] added data_test with cosh.dat [cosh.dat] special values from C99 [tests/Makefile.am] added cosh.dat Note: some tests from cosh.dat currently fail due to some inconsistency between the rules for conjugacy and parity and the default signs chosen by mpc in cases where C99 leaves the signs unspecified. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@236 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tcosh.c')
-rw-r--r--tests/tcosh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcosh.c b/tests/tcosh.c
index 88a3cac..d2d8e45 100644
--- a/tests/tcosh.c
+++ b/tests/tcosh.c
@@ -29,6 +29,8 @@ MA 02111-1307, USA. */
#define TEST_FUNCTION mpc_cosh
#include "tgeneric_cc.c"
+#include "read_data_cc.c"
+
static void
test_failed (mpc_t op, mpc_t get, mpc_t expected)
{
@@ -645,6 +647,7 @@ main (void)
{
test_start ();
+ data_check ("cosh.dat");
special ();
pure_real_argument ();
pure_imaginary_argument ();