summaryrefslogtreecommitdiff
path: root/Test/textbook/DivMod.bpl
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-04-08 22:43:49 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-04-08 22:43:49 +0100
commitccf94ed737752c21edff3cab8a71de0766a48d1c (patch)
tree6c729bdfc2a47d5e585e0447854d2c438ea3f592 /Test/textbook/DivMod.bpl
parentfb8a685bb6deebe08fa18cfb4d4e6529f1c6c0ac (diff)
Converted textbook tests to lit tests.
Diffstat (limited to 'Test/textbook/DivMod.bpl')
-rw-r--r--Test/textbook/DivMod.bpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/textbook/DivMod.bpl b/Test/textbook/DivMod.bpl
index 4a551b6e..de218604 100644
--- a/Test/textbook/DivMod.bpl
+++ b/Test/textbook/DivMod.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie %s > %t
+// RUN: %diff %s.expect %t
// This file contains two definitions of integer div/mod (truncated division, as is
// used in C, C#, Java, and several other languages, and Euclidean division, which
// has mathematical appeal and is used by SMT Lib) and proves the correct