summaryrefslogtreecommitdiff
path: root/tests/tsub_tmpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsub_tmpl.c')
-rw-r--r--tests/tsub_tmpl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/tsub_tmpl.c b/tests/tsub_tmpl.c
index 7d457c1..77fff84 100644
--- a/tests/tsub_tmpl.c
+++ b/tests/tsub_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"
#define MPC_FUNCTION_CALL \
P[0].mpc_inex = mpc_sub (P[1].mpc, P[2].mpc, P[3].mpc, P[4].mpc_rnd)
@@ -29,17 +28,16 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
P[0].mpc_inex = mpc_sub (P[1].mpc, P[2].mpc, P[1].mpc, P[4].mpc_rnd)
#include "data_check.tpl"
+#include "tgeneric.tpl"
int
main (void)
{
- DECL_FUNC (C_CC, f, mpc_sub);
-
test_start ();
data_check_template ("sub.dsc", "sub.dat");
- tgeneric (f, 2, 1024, 7, -1);
+ tgeneric_template ("sub.dsc", 2, 1024, 7, 128);
test_end ();