summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-01-15 14:12:56 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-01-15 14:12:56 +0000
commit0c647e5fc27f219cb0c991d6dbeaeb60dc127ed1 (patch)
tree75166b765f2e865deeb0024cd93c563703892c0e
parenta3909c439e1b0982ad7872fe0ea466d18477e26d (diff)
downloadmpc-0c647e5fc27f219cb0c991d6dbeaeb60dc127ed1.tar.gz
more information in case of error
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1411 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--tests/tpow_ld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tpow_ld.c b/tests/tpow_ld.c
index a02ea6e..a4e3ab9 100644
--- a/tests/tpow_ld.c
+++ b/tests/tpow_ld.c
@@ -1,6 +1,6 @@
/* tpow_ld -- test file for mpc_pow_ld.
-Copyright (C) 2009 INRIA
+Copyright (C) 2009, 2014 INRIA
This file is part of GNU MPC.
@@ -33,6 +33,9 @@ main (void)
if (mpc_cmp_si_si (z, -9, 46) != 0)
{
printf ("Error for mpc_pow_ld (1)\n");
+ printf ("expected (-9 46)\ngot ");
+ mpc_out_str (stdout, 10, 0, z, MPC_RNDNN);
+ printf ("\n");
exit (1);
}
mpc_clear (z);