mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-24 16:31:34 +03:00
Add regression test for issue #128.
This commit is contained in:
parent
fde77d79f3
commit
234aa3230c
4
tests/issues/issue128.cry
Normal file
4
tests/issues/issue128.cry
Normal file
@ -0,0 +1,4 @@
|
||||
copy : [inf] -> [inf]
|
||||
copy ([b] # x) = if b then [True] # copy x else [False] # copy x
|
||||
|
||||
property ok = copy ([True] # zero) @ 0
|
3
tests/issues/issue128.icry
Normal file
3
tests/issues/issue128.icry
Normal file
@ -0,0 +1,3 @@
|
||||
:l issue128.cry
|
||||
:check ok
|
||||
:prove ok
|
7
tests/issues/issue128.icry.stdout
Normal file
7
tests/issues/issue128.icry.stdout
Normal file
@ -0,0 +1,7 @@
|
||||
Loading module Cryptol
|
||||
Loading module Cryptol
|
||||
Loading module Main
|
||||
Using exhaustive testing.
|
||||
passed 1 tests.
|
||||
Q.E.D.
|
||||
Q.E.D.
|
Loading…
Reference in New Issue
Block a user