summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2014-01-28 17:17:51 -0600
committerTianyi Liang <tianyi-liang@uiowa.edu>2014-01-28 17:17:51 -0600
commit6b2b7c90c9dccb596181fcf399a8830b05db5408 (patch)
tree3034713b827e678746c8e51c4c4379ac56323839 /test
parentd3822db24e15e255766866a47e6ffa0d8d91911b (diff)
merge internal and user of charat & substr into one
Diffstat (limited to 'test')
-rw-r--r--test/regress/regress0/strings/substr001.smt22
1 files changed, 2 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/substr001.smt2 b/test/regress/regress0/strings/substr001.smt2
index 476b82699..bdfa33afb 100644
--- a/test/regress/regress0/strings/substr001.smt2
+++ b/test/regress/regress0/strings/substr001.smt2
@@ -7,6 +7,8 @@
(declare-fun i3 () Int)
(declare-fun i4 () Int)
+(assert (and (>= i1 0) (>= i2 0) (< (+ i1 i2) (str.len x))))
+(assert (and (>= i3 0) (>= i4 0) (< (+ i3 i4) (str.len x))))
(assert (= "efg" (str.substr x i1 i2) ) )
(assert (= "bef" (str.substr x i3 i4) ) )
(assert (> (str.len x) 5))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback