diff options
Diffstat (limited to 'tests/tadd_fr_tmpl.c')
-rw-r--r-- | tests/tadd_fr_tmpl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tadd_fr_tmpl.c b/tests/tadd_fr_tmpl.c index e300627..51661a8 100644 --- a/tests/tadd_fr_tmpl.c +++ b/tests/tadd_fr_tmpl.c @@ -1,6 +1,6 @@ /* tadd_fr_tmpl.c -- templated test file for mpc_add_fr. -Copyright (C) 2008, 2010, 2011, 2012 INRIA +Copyright (C) 2008, 2010, 2011, 2012, 2013 INRIA This file is part of GNU MPC. @@ -19,7 +19,6 @@ along with this program. If not, see http://www.gnu.org/licenses/ . */ #include "templates.h" -#include "mpc-tests.h" static void check_ternary_value (mpfr_prec_t prec_max, mpfr_prec_t step) @@ -62,17 +61,18 @@ check_ternary_value (mpfr_prec_t prec_max, mpfr_prec_t step) P[0].mpc_inex = mpc_add_fr (P[1].mpc, P[1].mpc, P[3].mpfr, P[4].mpc_rnd) #include "data_check.tpl" +#include "tgeneric.tpl" int main (void) { - DECL_FUNC (CCF, f, mpc_add_fr); test_start (); check_ternary_value (1024, 1); data_check_template ("add_fr.dsc", "add_fr.dat"); - tgeneric (f, 2, 1024, 7, 10); + + tgeneric_template ("add_fr.dsc", 2, 1024, 7, 128); test_end (); return 0; |