diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2014-01-22 10:09:07 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2014-01-22 10:09:07 +0000 |
commit | f8e19d05072cb3e7bc32fc093868fdf73fa9a232 (patch) | |
tree | 28044abea340c7a5fefa24e36d2318131081c2bd /tests/check_data.c | |
parent | 9936d02411e3446fb64e5fd8fb8e5671af25dbf1 (diff) | |
download | mpc-f8e19d05072cb3e7bc32fc093868fdf73fa9a232.tar.gz |
[tests] Support of sin_cos with the new test framework.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1422 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/check_data.c')
-rw-r--r-- | tests/check_data.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check_data.c b/tests/check_data.c index 6d6bc69..f834955 100644 --- a/tests/check_data.c +++ b/tests/check_data.c @@ -1,6 +1,6 @@ /* check_data.c -- Check computed data against reference result. -Copyright (C) 2012, 2013 INRIA +Copyright (C) 2012, 2013, 2014 INRIA This file is part of GNU MPC. @@ -62,6 +62,9 @@ check_param (mpc_operand_t* got, mpc_operand_t* expected, mpc_param_t t) return tpl_check_mpc_data (got->mpc, expected->mpc_data); + case MPCC_INEX: + return got->mpcc_inex == expected->mpcc_inex; + default: fprintf (stderr, "check_data: unsupported type.\n"); exit (1); |