summaryrefslogtreecommitdiff
path: root/tests/tlog.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-04-10 14:49:05 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-04-10 14:49:05 +0000
commitdf5b973afaefd0aa5c4ca7cd650efd685c3a2a05 (patch)
treecfcbc5a11b42dee90c173289c5613d3392e7efff /tests/tlog.c
parente682710343a4c6eb4e47c0b99f2631be39d247e7 (diff)
downloadmpc-df5b973afaefd0aa5c4ca7cd650efd685c3a2a05.tar.gz
first try for log, probably still buggy
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@96 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tlog.c')
-rw-r--r--tests/tlog.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/tlog.c b/tests/tlog.c
new file mode 100644
index 0000000..5c2f567
--- /dev/null
+++ b/tests/tlog.c
@@ -0,0 +1,37 @@
+/* test file for mpc_log.
+
+Copyright (C) 2008 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 <stdio.h>
+#include <stdlib.h>
+#include "gmp.h"
+#include "mpfr.h"
+#include "mpc.h"
+
+#define TEST_FUNCTION mpc_log
+#include "tgeneric.c"
+
+int
+main()
+{
+ tgeneric ();
+
+ return 0;
+}