diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-11-29 17:28:34 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-11-29 17:28:34 +0000 |
commit | 715e5bb6c1150bc5985351722ab2772df475179e (patch) | |
tree | 142aa3f7a4d76567fdad1f9b42f22571e0abb791 /tests | |
parent | 4f3dcd25707bb5bd9e3d02127690d4a01bf796c4 (diff) | |
download | mpfr-715e5bb6c1150bc5985351722ab2772df475179e.tar.gz |
tests.c: added an assertion.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5055 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests.c b/tests/tests.c index 8e129a6b8..0e7971c6b 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -427,6 +427,7 @@ test4rm (int (*fct) (), mpfr_srcptr x, mpfr_ptr y, mpfr_ptr z, mp_prec_t yprec = MPFR_PREC (y); mp_rnd_t rndnext; + MPFR_ASSERTN (test_one || rnd == GMP_RNDZ); mpfr_set_prec (z, yprec); while (1) { |