Skip to content

Commit 8c0edc4

Browse files
committed
Adapt OctagonRelationTest (changed due to normalization)
1 parent 06774bf commit 8c0edc4

File tree

1 file changed

+2
-1
lines changed
  • trunk/source/Library-ModelCheckerUtilsTest/src/de/uni_freiburg/informatik/ultimate/modelcheckerutils/smt/linearterms

1 file changed

+2
-1
lines changed

trunk/source/Library-ModelCheckerUtilsTest/src/de/uni_freiburg/informatik/ultimate/modelcheckerutils/smt/linearterms/OctagonRelationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void testOneVarInt() {
9090
Assert.assertEquals("(+a) - (-a) > 14", octRelAsString("(> a 7)"));
9191
Assert.assertEquals("(+a) - (-a) <= 4", octRelAsString("(<= (* 3 a) 7)"));
9292

93-
Assert.assertEquals("(-a) - (+a) = 5", octRelAsString("(= (- 5) (* a 2))"));
93+
Assert.assertEquals("(-a) - (+a) = 6", octRelAsString("(= (- 6) (* a 2))"));
9494
}
9595

9696
@Test
@@ -127,6 +127,7 @@ public void testTwoVarReal() {
127127
@Test
128128
public void testNoCommonCoefficient() {
129129
Assert.assertNull(octRelAsString("(<= (+ (* 3 a) (* 4 b)) 5)"));
130+
Assert.assertNull(octRelAsString("(= (- 5) (* a 2))"));
130131
}
131132

132133
@Test

0 commit comments

Comments
 (0)