summaryrefslogtreecommitdiff
path: root/tests/tsqrt.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-08-21 10:27:58 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-08-21 10:27:58 +0000
commit0ffa417e1f336778536383228a477d874a1e084d (patch)
tree46cffca2c5c1881643c41cbed0d042c3290f47a1 /tests/tsqrt.c
parent00b4e5add3ec5d4040fe450aa9cc076fbe0bbde9 (diff)
downloadmpfr-0ffa417e1f336778536383228a477d874a1e084d.tar.gz
Added data_check support to mpfr_sqr.
Added bad_cases support to mpfr_sqr and mpfr_sqrt. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5584 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r--tests/tsqrt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index 2ed51d6d5..83c64cea5 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -678,6 +678,7 @@ main (void)
test_generic (2, 300, 15);
data_check ("data/sqrt", mpfr_sqrt, "mpfr_sqrt");
+ bad_cases (mpfr_sqrt, mpfr_sqr, "mpfr_sqrt", 8, -256, 255, 4, 128, 800, 50);
tests_end_mpfr ();
return 0;