summaryrefslogtreecommitdiff
path: root/tests/tmul_2ui.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-07-05 08:55:42 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-07-05 08:55:42 +0000
commiteb4484e39772db743d5ae49e0fe322ef3fcdb9db (patch)
tree55afe6dd4fc27feac975d138a5fa0e4b043795ec /tests/tmul_2ui.c
parent4646f388cb3aa3d3435a08c7bdacab16e9530137 (diff)
downloadmpc-eb4484e39772db743d5ae49e0fe322ef3fcdb9db.tar.gz
renamed mul/div_2exp to mul/div_2ui
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1224 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul_2ui.c')
-rw-r--r--tests/tmul_2ui.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/tmul_2ui.c b/tests/tmul_2ui.c
new file mode 100644
index 0000000..7f6ec48
--- /dev/null
+++ b/tests/tmul_2ui.c
@@ -0,0 +1,35 @@
+/* tmul_2exp -- test file for mpc_mul_2exp.
+
+Copyright (C) 2008, 2012 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 (CCU, f, mpc_mul_2ui);
+
+ test_start ();
+
+ tgeneric (f, 2, 1024, 7, -1);
+
+ test_end ();
+
+ return 0;
+}