summaryrefslogtreecommitdiff
path: root/tests/tnorm.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-11-13 21:24:16 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-11-13 21:24:16 +0000
commitafc0750a201821c8c7cbb0da84b219e7f37e8632 (patch)
tree923bbb90dd8e15c5c7cc6a58256961a6bbe04dad /tests/tnorm.c
parent7ee43edd40b772c4437037e3d92a983601d183bc (diff)
downloadmpc-afc0750a201821c8c7cbb0da84b219e7f37e8632.tar.gz
- added data files for norm, div, div_fr, fr_div, mul_fr
- debugged some of the corresponding functions - tests/mpc-tests.h: removal of macros - tests/read_data.c: reorganisation of reused code in functions git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@299 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tnorm.c')
-rw-r--r--tests/tnorm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tnorm.c b/tests/tnorm.c
index 582acd6..31d2a35 100644
--- a/tests/tnorm.c
+++ b/tests/tnorm.c
@@ -1,6 +1,6 @@
/* tnorm -- test file for mpc_norm.
-Copyright (C) 2008 Philippe Th\'eveny
+Copyright (C) 2008 Philippe Th\'eveny, Andreas Enge
This file is part of the MPC Library.
@@ -24,10 +24,11 @@ MA 02111-1307, USA. */
int
main (void)
{
- DECL_FC_FUNC (f, mpc_norm);
+ DECL_FUNC (FC, f, mpc_norm);
test_start ();
+ data_check (f, "norm.dat");
tgeneric (f, 2, 1024, 1, 4096);
test_end ();