summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-11-19 14:19:25 -0600
committerGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-11-19 14:19:25 -0600
commit3e37476e15593fe7889b2644bcf389f90f985e35 (patch)
treef1ca52dc1cb875e60283ef5cbba8e87cd4b94134
parent261c125776d911fda9b545094cb182f3ceb0cdd2 (diff)
Update test output after Nikolaj's enhancement in Z3.
-rw-r--r--Test/optimization/Optimization3.bpl2
-rw-r--r--Test/optimization/Optimization3.bpl.expect2
2 files changed, 2 insertions, 2 deletions
diff --git a/Test/optimization/Optimization3.bpl b/Test/optimization/Optimization3.bpl
index c1dba49c..02499c31 100644
--- a/Test/optimization/Optimization3.bpl
+++ b/Test/optimization/Optimization3.bpl
@@ -6,7 +6,7 @@ procedure test0()
var x: int;
assume x < 42;
- assume {:maximize x} true; // TODO(wuestholz): Currently, Z3 does not produce a model with "x == 41" here. It seems like this is due to the fact that it returns "unknown".
+ assume {:maximize x} true;
assert (exists y: int :: y < x);
}
diff --git a/Test/optimization/Optimization3.bpl.expect b/Test/optimization/Optimization3.bpl.expect
index 6f308d7d..6a0066fc 100644
--- a/Test/optimization/Optimization3.bpl.expect
+++ b/Test/optimization/Optimization3.bpl.expect
@@ -2,7 +2,7 @@
%lbl%@80 -> false
%lbl%+33 -> true
%lbl%+61 -> true
-x -> (- 962)
+x -> 41
tickleBool -> {
true -> true
false -> true