Skip to content

Commit

Permalink
Rewording tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Oct 2, 2023
1 parent 37db150 commit 390b7d4
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 14 deletions.
58 changes: 50 additions & 8 deletions tests/dune.inc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
(error "Invalid (get-info :reason-unknown)")

unknown
unsupported
Expand All @@ -10,4 +9,3 @@ unsupported
(:name "Alt-Ergo")
(:reason-unknown Incomplete)
(:version dev)
unsupported
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
(set-logic ALL)

(declare-const x Int)
(declare-const y Int)

(assert (= (* x x) 4))

(get-info :reason-unknown)
(check-sat)
(get-info :all-statistics)
(get-info :assertion-stack-levels)
(get-info :authors)
(get-info :error-behavior)
(get-info :name)
(get-info :reason-unknown)
(get-info :version)
(get-info :foo)
(get-info :version)
1 change: 1 addition & 0 deletions tests/smtlib/testfile-get-info2.err.dolmen.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(error "Invalid (get-info :reason-unknown)")
8 changes: 8 additions & 0 deletions tests/smtlib/testfile-get-info2.err.dolmen.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(set-logic ALL)

(declare-const x Int)

(assert (= (* x x) 4))

(get-info :reason-unknown)
(check-sat)
1 change: 1 addition & 0 deletions tests/smtlib/testfile-get-info3.dolmen.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unsupported
1 change: 1 addition & 0 deletions tests/smtlib/testfile-get-info3.dolmen.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(get-info :foo)

0 comments on commit 390b7d4

Please sign in to comment.