summaryrefslogtreecommitdiff
path: root/tests/tpow_fr_tmpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tpow_fr_tmpl.c')
-rw-r--r--tests/tpow_fr_tmpl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/tpow_fr_tmpl.c b/tests/tpow_fr_tmpl.c
index 6206ed5..32c8352 100644
--- a/tests/tpow_fr_tmpl.c
+++ b/tests/tpow_fr_tmpl.c
@@ -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
test_reuse (void)
@@ -54,18 +53,18 @@ test_reuse (void)
P[0].mpc_inex = mpc_pow_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_pow_fr);
test_start ();
- test_reuse ();
+ test_reuse (); /* FIXME: remove it, already checked by tgeneric */
data_check_template ("pow_fr.dsc", "pow_fr.dat");
- tgeneric (f, 2, 1024, 7, 10);
+ tgeneric_template ("pow_fr.dsc", 2, 1024, 7, 10);
test_end ();