Skip to content

Commit

Permalink
Adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Oct 3, 2023
1 parent 6f9cf16 commit 741832b
Show file tree
Hide file tree
Showing 9 changed files with 623 additions and 0 deletions.
587 changes: 587 additions & 0 deletions tests/dune.inc

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions tests/smtlib/testfile-exit.dolmen.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

unknown
4 changes: 4 additions & 0 deletions tests/smtlib/testfile-exit.dolmen.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(set-logic ALL)
(check-sat)
(exit)
(check-sat)
2 changes: 2 additions & 0 deletions tests/smtlib/testfile-exit.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

unknown
4 changes: 4 additions & 0 deletions tests/smtlib/testfile-exit.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(set-logic ALL)
(check-sat)
(exit)
(check-sat)
4 changes: 4 additions & 0 deletions tests/smtlib/testfile-reset.dolmen.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

unsat

unknown
8 changes: 8 additions & 0 deletions tests/smtlib/testfile-reset.dolmen.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(set-logic ALL)

(declare-const b Bool)

(assert (and b (not b)))
(check-sat)
(reset)
(check-sat)
4 changes: 4 additions & 0 deletions tests/smtlib/testfile-reset.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

unsat

unknown
8 changes: 8 additions & 0 deletions tests/smtlib/testfile-reset.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(set-logic ALL)

(declare-const b Bool)

(assert (and b (not b)))
(check-sat)
(reset)
(check-sat)

0 comments on commit 741832b

Please sign in to comment.