From 0c647e5fc27f219cb0c991d6dbeaeb60dc127ed1 Mon Sep 17 00:00:00 2001 From: zimmerma Date: Wed, 15 Jan 2014 14:12:56 +0000 Subject: more information in case of error git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1411 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- tests/tpow_ld.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1