Skip to content

Commit

Permalink
Add regression test for #664.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Huffman committed Nov 27, 2019
1 parent 56f2638 commit 67fc367
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/issues/issue664.icry
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
let ashr x y = if head x then ~ (~ x >> y) else x >> y
:exhaust \(x : [8]) (y : [8]) -> x >>$ y == ashr x y
:prove \(x : [8]) (y : [8]) -> x >>$ y == ashr x y
5 changes: 5 additions & 0 deletions tests/issues/issue664.icry.stdout
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Loading module Cryptol
Using exhaustive testing.
Testing... Passed 65536 tests.
Q.E.D.
Q.E.D.

0 comments on commit 67fc367

Please sign in to comment.