Skip to content

Commit

Permalink
Generalize CheckEnum test case to include :prove commands
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Jan 25, 2024
1 parent dd6313c commit 8252656
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/enum/CheckEnum.icry

This file was deleted.

File renamed without changes.
10 changes: 10 additions & 0 deletions tests/enum/CheckProveEnum.icry
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
:l CheckProveEnum.cry
:set prover-stats=off

:check

:set prover=sbv-z3
:prove

:set prover=w4-z3
:prove
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,19 @@ Expected test coverage: 0.15% (100 of 65539 values)
property letterRotateProp Using exhaustive testing.
Testing... Passed 3 tests.
Q.E.D.
:prove maybeMapProp
Q.E.D.
:prove eitherMapProp
Q.E.D.
:prove fooMapProp
Q.E.D.
:prove letterRotateProp
Q.E.D.
:prove maybeMapProp
Q.E.D.
:prove eitherMapProp
Q.E.D.
:prove fooMapProp
Q.E.D.
:prove letterRotateProp
Q.E.D.

0 comments on commit 8252656

Please sign in to comment.