Skip to content

Commit

Permalink
tests: add a test for smt_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Apr 10, 2023
1 parent 0002214 commit a3e5a5f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/tactics/SMTSync.fst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module SMTSync

open FStar.Tactics

let test1 x = assert (1 + x == x + 1)
by (try smt_sync () with |_ -> fail "")

[@@expect_failure]
let test2 x = assert (1 + x == x + 2)
by (try smt_sync () with |_ -> fail "")

let test3 x = assert (1 + x == x + 2)
by (try smt_sync () with |_ -> tadmit ())

0 comments on commit a3e5a5f

Please sign in to comment.