Debian Codegraph @

test/regress/cli/regress0/strings/type001.smt2

raw
1 (set-info :smt-lib-version 2.6)
2 (set-logic QF_SLIA)
3 (set-info :status sat)
4
5
6 (declare-fun x () String)
7 (declare-fun y () String)
8 (declare-fun i () Int)
9 (declare-fun j () Int)
10 (declare-fun z () String)
11
12 ;big num test
13 (assert (= x (str.from_int 4785582390527685649)))
14 ;should be ""
15 (assert (= y (str.from_int (- 9))))
16
17 ;big num
18 (assert (= i (str.to_int "783914785582390527685649")))
19 ;should be -1
20 (assert (= j (str.to_int "-783914785582390527685649")))
21
22 (check-sat)