Skip to content

Commit

Permalink
Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Nov 23, 2023
1 parent 14d9d91 commit c4b4ffb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/smtlib/testfile-steps-bound.dolmen.smt2
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@
(declare-const y Int)
(assert (= (* x x) 3))

; Should answer 'unknown'
(push 1)
; Setting this option here should fail because the previous assertion takes
; more than 2 steps. It does not because AE does not execute SMTLIB instruction
; imperatively; here, the option is actually set before the assertion is
; executed.
(set-option :steps-bound 2)
; Should answer 'unknown'
(check-sat)
(get-info :reason-unknown)
(pop 1)

(reset)

; Should answer 'unsat'
(set-logic ALL)
(declare-const x Int)
(declare-const y Int)
(set-option :steps-bound 100)
; Should answer 'unsat'
(assert (= (* x x) 3))
(check-sat)

0 comments on commit c4b4ffb

Please sign in to comment.