[PPL-devel] [GIT] ppl/ppl(termination): Fixed the input polyhedra for test01() and test02().

Roberto Bagnara bagnara at cs.unipr.it
Mon Mar 8 11:22:59 CET 2010


Module: ppl/ppl
Branch: termination
Commit: 5e848582e1152915695a686a3c13693d497a73b3
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=5e848582e1152915695a686a3c13693d497a73b3

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Mon Mar  8 14:22:41 2010 +0400

Fixed the input polyhedra for test01() and test02().

---

 tests/Polyhedron/termination1.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Polyhedron/termination1.cc b/tests/Polyhedron/termination1.cc
index 1484392..be706f7 100644
--- a/tests/Polyhedron/termination1.cc
+++ b/tests/Polyhedron/termination1.cc
@@ -34,7 +34,7 @@ test01() {
   ph.add_constraint(x1 >= 2);
   ph.add_constraint(2*xp1 + 1 >= x1);
   ph.add_constraint(2*xp1 <= x1);
-  ph.add_constraint(xp2 + 1 == x2);
+  ph.add_constraint(xp2 == x2 + 1);
 
   C_Polyhedron mu_space;
   all_affine_ranking_functions_MS(ph, mu_space);
@@ -68,7 +68,7 @@ test02() {
   ph.add_constraint(x1 >= 2);
   ph.add_constraint(2*xp1 + 1 >= x1);
   ph.add_constraint(2*xp1 <= x1);
-  ph.add_constraint(xp2 + 1 == x2);
+  ph.add_constraint(xp2 == x2 + 1);
 
   return termination_test_MS(ph);
 }




More information about the PPL-devel mailing list