[PPL-devel] [GIT] ppl/ppl(bounded_arithmetic): New file wrap1. cc will contain tests for method Polyhedron::wrap_assign().

Roberto Bagnara bagnara at cs.unipr.it
Tue Apr 21 11:36:44 CEST 2009


Module: ppl/ppl
Branch: bounded_arithmetic
Commit: 636f1db00bb3ae68ffbcdfbe22bc56c03f9cfdbd
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=636f1db00bb3ae68ffbcdfbe22bc56c03f9cfdbd

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Tue Apr 21 11:36:33 2009 +0200

New file wrap1.cc will contain tests for method Polyhedron::wrap_assign().

---

 tests/Polyhedron/Makefile.am |    7 ++++++
 tests/Polyhedron/wrap1.cc    |   48 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/tests/Polyhedron/Makefile.am b/tests/Polyhedron/Makefile.am
index b7994d4..b4162e1 100644
--- a/tests/Polyhedron/Makefile.am
+++ b/tests/Polyhedron/Makefile.am
@@ -132,6 +132,7 @@ topclosure1 \
 unconstrain1 \
 universe1 universe2 \
 variablesset1 \
+wrap1 \
 writeconsys1 \
 writegensys1 \
 writepolyhedron1 writepolyhedron2 \
@@ -203,6 +204,7 @@ nnc_smm1 \
 nnc_timeelapse1 \
 nnc_unconstrain1 \
 nnc_universe1 \
+nnc_wrap1 \
 nnc_writepolyhedron1
 
 #
@@ -403,6 +405,8 @@ universe2_SOURCES = universe2.cc
 
 variablesset1_SOURCES = variablesset1.cc
 
+wrap1_SOURCES = wrap1.cc
+
 writeconsys1_SOURCES = writeconsys1.cc
 
 writegensys1_SOURCES = writegensys1.cc
@@ -623,6 +627,9 @@ nnc_unconstrain1_CXXFLAGS = $(DERIVED_CXXFLAGS)
 nnc_universe1_SOURCES = universe1.cc
 nnc_universe1_CXXFLAGS = $(DERIVED_CXXFLAGS)
 
+nnc_wrap1_SOURCES = wrap1.cc
+nnc_wrap1_CXXFLAGS = $(DERIVED_CXXFLAGS)
+
 nnc_writepolyhedron1_SOURCES = writepolyhedron1.cc
 nnc_writepolyhedron1_CXXFLAGS = $(DERIVED_CXXFLAGS)
 
diff --git a/tests/Polyhedron/wrap1.cc b/tests/Polyhedron/wrap1.cc
new file mode 100644
index 0000000..dfcb77e
--- /dev/null
+++ b/tests/Polyhedron/wrap1.cc
@@ -0,0 +1,48 @@
+/* Test Polyhedron::wrap_assign().
+   Copyright (C) 2001-2009 Roberto Bagnara <bagnara at cs.unipr.it>
+
+This file is part of the Parma Polyhedra Library (PPL).
+
+The PPL is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+The PPL 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 General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
+
+For the most up-to-date information see the Parma Polyhedra Library
+site: http://www.cs.unipr.it/ppl/ . */
+
+#include "ppl_test.hh"
+
+namespace {
+
+bool
+test01() {
+  // FIXME: to be written.
+  bool ok = true;
+
+  return ok;
+}
+
+bool
+test02() {
+  // FIXME: to be written.
+  bool ok = true;
+
+  return ok;
+}
+
+} // namespace
+
+BEGIN_MAIN
+  DO_TEST(test01);
+  DO_TEST(test02);
+END_MAIN




More information about the PPL-devel mailing list