summaryrefslogtreecommitdiff
path: root/Test/VSI-Benchmarks
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-12-18 23:53:58 +0100
committerGravatar wuestholz <unknown>2013-12-18 23:53:58 +0100
commit34d5a8ab6ed5bc95e93494044e4e7e93997aa3c3 (patch)
tree98d6d43b0493105bb0b763328de9e0bfd659ba16 /Test/VSI-Benchmarks
parent886b88e644d1cbb564383c67f3b7935f62e8ef9b (diff)
Add an assertion to a test case to make it less flaky (hopefully).
Diffstat (limited to 'Test/VSI-Benchmarks')
-rw-r--r--Test/VSI-Benchmarks/b3.dfy1
1 files changed, 1 insertions, 0 deletions
diff --git a/Test/VSI-Benchmarks/b3.dfy b/Test/VSI-Benchmarks/b3.dfy
index 9fc8a10d..5df25612 100644
--- a/Test/VSI-Benchmarks/b3.dfy
+++ b/Test/VSI-Benchmarks/b3.dfy
@@ -101,6 +101,7 @@ class Benchmark3 {
var x := q.Dequeue();
q.Enqueue(x);
j := j+1;
+ assert q.contents == old(q.contents)[j..] + old(q.contents)[..j];
}
m := q.Dequeue();