summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2013-12-03 15:01:36 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2013-12-03 15:01:36 +0000
commitd4105cc241ea9ce240e1fa2b2842d8ccf238cdbc (patch)
treea2bd47a28c6f2b30d69317d2ebf0595d771ebfb3
parente8362f1680ecc0a533708442c1cdf13ed8bf3391 (diff)
downloadmpc-d4105cc241ea9ce240e1fa2b2842d8ccf238cdbc.tar.gz
[tests/] Fix templated tests for mpc_div_fr.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/benchs_tests@1364 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/tdiv_fr_tmpl.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 48150ab..c54a772 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -30,7 +30,7 @@ LOADLIBES=$(DEFS) -I$(top_srcdir)/src -I$(top_builddir) $(CPPFLAGS) \
TEMPLATED = tabs_tmpl tacos_tmpl tacosh_tmpl tadd_fr_tmpl tadd_tmpl \
tadd_si_tmpl tadd_ui_tmpl targ_tmpl tasin_tmpl tasinh_tmpl tatan_tmpl \
- tatanh_tmpl tconj_tmpl tcos_tmpl tcosh_tmpl tdiv_tmpl tdiv_tmpl \
+ tatanh_tmpl tconj_tmpl tcos_tmpl tcosh_tmpl tdiv_tmpl tdiv_fr_tmpl \
texp_tmpl tfma_tmpl tfr_div_tmpl tfr_sub_tmpl tlog10_tmpl tlog_tmpl \
tmul_fr_tmpl tmul_tmpl tneg_tmpl tnorm_tmpl tpow_fr_tmpl tpow_si_tmpl \
tpow_tmpl tpow_ui_tmpl tpow_z_tmpl tproj_tmpl tsin_tmpl tsinh_tmpl \
diff --git a/tests/tdiv_fr_tmpl.c b/tests/tdiv_fr_tmpl.c
index bf8298c..4f96fb3 100644
--- a/tests/tdiv_fr_tmpl.c
+++ b/tests/tdiv_fr_tmpl.c
@@ -27,14 +27,15 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
#include "data_check.tpl"
#include "tgeneric.tpl"
+
int
main (void)
{
test_start ();
- data_check_tmpl ("div_fr.dsc", "div_fr.dat");
+ data_check_template ("div_fr.dsc", "div_fr.dat");
- tgeneric_template ("div_fr.dsc", 2, 1024, 7, -1);
+ tgeneric_template ("div_fr.dsc", 2, 1024, 7, 1024);
test_end ();