summaryrefslogtreecommitdiff
path: root/tests/tset.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-03-23 12:05:45 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-03-23 12:05:45 +0000
commit33aa398a2e6078861881bbd488f86cef0948f5e3 (patch)
treed7aa140229c6166adb44ab81d5a45c0bb4e4f1b5 /tests/tset.c
parent243a2bd11df5ac0fe907fcfe4b8a6ebe39e05735 (diff)
downloadmpc-33aa398a2e6078861881bbd488f86cef0948f5e3.tar.gz
tests/inp_str.dat tests/tio_str.c tests/tset.c: Increase test coverage up to 100% LOC
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@496 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tset.c')
-rw-r--r--tests/tset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset.c b/tests/tset.c
index f1a60c8..3718e84 100644
--- a/tests/tset.c
+++ b/tests/tset.c
@@ -340,7 +340,7 @@ check_set_str (mp_exp_t exp_max)
/* the real part has a zero exponent in base ten (fixed in r439) */
mpc_set_prec (expected, 37);
mpc_set_prec (got, 37);
- mpc_set_str (expected, "921FC04EDp-35", 16, GMP_RNDN);
+ mpc_set_str (expected, "921FC04EDp-35 ", 16, GMP_RNDN);
str = mpc_get_str (10, 0, expected, MPC_RNDNN);
if (mpc_set_str (got, str, 10, MPC_RNDNN) == -1
|| mpc_cmp (got, expected) != 0)