From 82cd6194369a376e51a6b525e577f7cc8852ebef Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Mon, 20 Jul 2015 13:00:10 -0700 Subject: Split snapshot tests into separate files and add support for %S in runTests.py --- Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy (limited to 'Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy') diff --git a/Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy b/Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy new file mode 100644 index 00000000..b81c1a2b --- /dev/null +++ b/Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy @@ -0,0 +1,26 @@ +method M() +{ + N(); + if (*) + { + + } + else + { + assert (forall b: bool :: b || !b) || 0 != 0; + } + N(); + assert (forall b: bool :: b || !b) || 3 != 3; + if (*) + { + + } + else + { + assert (forall b: bool :: b || !b) || 1 != 1; + } +} + + +method N() + ensures (forall b: bool :: b || !b) || 2 != 2; -- cgit v1.2.3