summaryrefslogtreecommitdiff
path: root/tests/tnrandom.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-07-02 12:24:54 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-07-02 12:24:54 +0000
commit6ea1da8d42181e6e9e7b4a745905838ca5d7eb53 (patch)
treea0fbdbbf9375b702aeba87d6b6747b67fc238f65 /tests/tnrandom.c
parent396be0fdcfae2571a76a734cac016237dad7468a (diff)
downloadmpfr-6ea1da8d42181e6e9e7b4a745905838ca5d7eb53.tar.gz
Removed the need of MPFR_USE_MINI_GMP tests for mpfr_[ne]random
functions (source and tests) as mpfr_random_deviate_value no longer needs mpq_t (since r9066). Also removed a static assertion in src/random_deviate.c for the same reason. Note: the change done in r9133 is now really useful! git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9135 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tnrandom.c')
-rw-r--r--tests/tnrandom.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/tnrandom.c b/tests/tnrandom.c
index d7c0af87a..12922ce8c 100644
--- a/tests/tnrandom.c
+++ b/tests/tnrandom.c
@@ -22,9 +22,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
-/* mpfr_nrandom is not defined with mini-gmp, see src/nrandom.c */
-#ifndef MPFR_USE_MINI_GMP
-
static void
test_special (mpfr_prec_t p)
{
@@ -131,13 +128,3 @@ main (int argc, char *argv[])
tests_end_mpfr ();
return 0;
}
-
-#else
-
-int
-main (void)
-{
- return 77;
-}
-
-#endif