summaryrefslogtreecommitdiff
path: root/mpc/tests/tdiv_fr.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-04-27 11:45:02 +0100
committerJavier Jardón <jjardon@gnome.org>2015-04-27 11:46:11 +0100
commitcca9d546d497fac90f862e52c61177ba1daa9a84 (patch)
tree1a0573ed85a772d9bf8fd70608523731dee8ed6d /mpc/tests/tdiv_fr.c
parent467cabff3ed4f2c36b3d79c488f50a67e715d63a (diff)
downloadgcc-tarball-cca9d546d497fac90f862e52c61177ba1daa9a84.tar.gz
Add mpc 1.0.3 tarballbaserock/5.1.0/gmp_mpfr_mpc
Diffstat (limited to 'mpc/tests/tdiv_fr.c')
-rw-r--r--mpc/tests/tdiv_fr.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/mpc/tests/tdiv_fr.c b/mpc/tests/tdiv_fr.c
new file mode 100644
index 0000000000..21e677e084
--- /dev/null
+++ b/mpc/tests/tdiv_fr.c
@@ -0,0 +1,36 @@
+/* test file for mpc_div_fr.
+
+Copyright (C) 2008 INRIA
+
+This file is part of GNU MPC.
+
+GNU MPC 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 3 of the License, or (at your
+option) any later version.
+
+GNU MPC 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 this program. If not, see http://www.gnu.org/licenses/ .
+*/
+
+#include "mpc-tests.h"
+
+int
+main (void)
+{
+ DECL_FUNC (CCF, f, mpc_div_fr);
+
+ test_start ();
+
+ data_check (f, "div_fr.dat");
+ tgeneric (f, 2, 1024, 7, -1);
+
+ test_end ();
+
+ return 0;
+}