diff options
author | wuestholz <unknown> | 2014-05-29 21:41:00 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-05-29 21:41:00 +0200 |
commit | 607ef28aadb281ab61a2be493a637126e967a388 (patch) | |
tree | aae16c049c860e443920f9c6ee31af4e35f8a800 /Test/vacid0 | |
parent | dc0a9130355352d0f47e07232d8119fc7219ccbc (diff) |
Set up the same test infrastructure as in Boogie.
Diffstat (limited to 'Test/vacid0')
-rw-r--r-- | Test/vacid0/Composite.dfy | 3 | ||||
-rw-r--r-- | Test/vacid0/Composite.dfy.expect | 2 | ||||
-rw-r--r-- | Test/vacid0/LazyInitArray.dfy | 3 | ||||
-rw-r--r-- | Test/vacid0/LazyInitArray.dfy.expect | 2 | ||||
-rw-r--r-- | Test/vacid0/SparseArray.dfy | 3 | ||||
-rw-r--r-- | Test/vacid0/SparseArray.dfy.expect | 2 |
6 files changed, 15 insertions, 0 deletions
diff --git a/Test/vacid0/Composite.dfy b/Test/vacid0/Composite.dfy index ed376931..d5551d82 100644 --- a/Test/vacid0/Composite.dfy +++ b/Test/vacid0/Composite.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
class Composite {
var left: Composite;
var right: Composite;
diff --git a/Test/vacid0/Composite.dfy.expect b/Test/vacid0/Composite.dfy.expect new file mode 100644 index 00000000..d903c7c5 --- /dev/null +++ b/Test/vacid0/Composite.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 16 verified, 0 errors
diff --git a/Test/vacid0/LazyInitArray.dfy b/Test/vacid0/LazyInitArray.dfy index 3e5a95ef..e6708e35 100644 --- a/Test/vacid0/LazyInitArray.dfy +++ b/Test/vacid0/LazyInitArray.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
class LazyInitArray<T> {
ghost var Contents: seq<T>;
var Zero: T;
diff --git a/Test/vacid0/LazyInitArray.dfy.expect b/Test/vacid0/LazyInitArray.dfy.expect new file mode 100644 index 00000000..76f19e0d --- /dev/null +++ b/Test/vacid0/LazyInitArray.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 7 verified, 0 errors
diff --git a/Test/vacid0/SparseArray.dfy b/Test/vacid0/SparseArray.dfy index 989ddfc6..06fca9f0 100644 --- a/Test/vacid0/SparseArray.dfy +++ b/Test/vacid0/SparseArray.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
class SparseArray<T> {
ghost var Contents: seq<T>;
var zero: T;
diff --git a/Test/vacid0/SparseArray.dfy.expect b/Test/vacid0/SparseArray.dfy.expect new file mode 100644 index 00000000..249e77e5 --- /dev/null +++ b/Test/vacid0/SparseArray.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 9 verified, 0 errors
|