Skip to content

Commit

Permalink
Arrays: Add regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyvari committed Jul 22, 2022
1 parent ab7ddf0 commit b1c4a0f
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions regression/QF_AX/arrays_extensionality_no_selects.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(set-logic QF_AX)
(set-info :status sat)
(set-info :smt-lib-version 2.6)
(declare-sort I 0)
(declare-sort E 0)
(declare-fun S () (Array I E))
(declare-fun SS () (Array I E))
(assert (= S SS))
(check-sat)
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sat
12 changes: 12 additions & 0 deletions regression/QF_AX/arrays_extensionality_no_selects_unsat.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(set-logic QF_AX)
(set-info :status unsat)
(set-info :smt-lib-version 2.6)
(declare-sort I 0)
(declare-sort E 0)
(declare-fun S () (Array I E))
(declare-fun SS () (Array I E))
(declare-fun SSS () (Array I E))
(assert (= S SS))
(assert (= SS SSS))
(assert (not (= S SSS)))
(check-sat)
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unsat

0 comments on commit b1c4a0f

Please sign in to comment.