summaryrefslogtreecommitdiff
path: root/tests/tsin_cos.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-01-18 12:49:18 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-01-18 12:49:18 +0000
commit86915204fbf1199f23563b9d817712b874f9c904 (patch)
tree68d76e3c6170cc8ef4c39e3570c0d95e44dd248b /tests/tsin_cos.c
parent79b8a4aa8bab2c1c63cfd20416367120762db85c (diff)
downloadmpc-86915204fbf1199f23563b9d817712b874f9c904.tar.gz
tsin_cos.c: file not included in previous commit
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@883 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tsin_cos.c')
-rw-r--r--tests/tsin_cos.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/tsin_cos.c b/tests/tsin_cos.c
new file mode 100644
index 0000000..8a13f2b
--- /dev/null
+++ b/tests/tsin_cos.c
@@ -0,0 +1,36 @@
+/* test file for mpc_sin_cos.
+
+Copyright (C) 2011 Andreas Enge
+
+This file is part of the MPC Library.
+
+The MPC Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at your
+option) any later version.
+
+The MPC Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the MPC Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA. */
+
+#include "mpc-tests.h"
+
+int
+main (void)
+{
+ DECL_FUNC (CC_C, f, mpc_sin_cos);
+
+ test_start ();
+
+ tgeneric (f, 2, 512, 13, 7);
+
+ test_end ();
+
+ return 0;
+}