Skip to content

Commit

Permalink
Test case for issue #639
Browse files Browse the repository at this point in the history
  • Loading branch information
robdockins committed Dec 10, 2020
1 parent 7376dfb commit 5d75123
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/issues/Issue639_C.cry
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module Issue639_C where
import Issue639_M (f)
3 changes: 3 additions & 0 deletions tests/issues/Issue639_M.cry
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Issue639_M where
f (a:Bit) = True
property p a = f a == a
4 changes: 4 additions & 0 deletions tests/issues/issue639.icry
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:m Issue639_C
:check
:prove
:sat
12 changes: 12 additions & 0 deletions tests/issues/issue639.icry.stdout
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Loading module Cryptol
Loading module Cryptol
Loading module Issue639_M
Loading module Issue639_C
property Issue639_M::p Using exhaustive testing.
Testing... Issue639_M::p False = False
:prove Issue639_M::p
Counterexample
Issue639_M::p False = False
:sat Issue639_M::p
Satisfiable
Issue639_M::p True = True

0 comments on commit 5d75123

Please sign in to comment.