diff options
author | Tianyi Liang <tianyi-liang@uiowa.edu> | 2014-01-28 17:17:51 -0600 |
---|---|---|
committer | Tianyi Liang <tianyi-liang@uiowa.edu> | 2014-01-28 17:17:51 -0600 |
commit | 6b2b7c90c9dccb596181fcf399a8830b05db5408 (patch) | |
tree | 3034713b827e678746c8e51c4c4379ac56323839 /test | |
parent | d3822db24e15e255766866a47e6ffa0d8d91911b (diff) |
merge internal and user of charat & substr into one
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/regress0/strings/substr001.smt2 | 2 |
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))
|