From 79eae1e70e52bde8acfbfb2a09a0560c7319b224 Mon Sep 17 00:00:00 2001 From: Dan Rosen Date: Mon, 7 Jul 2014 17:37:29 -0700 Subject: Tidy up two files in test suite --- Test/dafny3/GenericSort.dfy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Test/dafny3') diff --git a/Test/dafny3/GenericSort.dfy b/Test/dafny3/GenericSort.dfy index 36967ab2..53d98bc2 100644 --- a/Test/dafny3/GenericSort.dfy +++ b/Test/dafny3/GenericSort.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 /dprint:"%t.dprint" "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + abstract module TotalOrder { type T // the type to be compared static predicate method Leq(a: T, b: T) // Leq(a,b) iff a <= b @@ -137,7 +140,6 @@ module Client { // Call the sorting routine to sort the array IntSort.InsertionSort(a); // Check the answer -// assert IntSort.Sorted(a, 0, a.Length); assert IntSort.O.Leq(a[0], a[1]); // lemma assert IntSort.O.Leq(a[1], a[2]); // lemma assert IntSort.O.Leq(a[2], a[3]); // lemma -- cgit v1.2.3