broke out Verifiable to a utility library, and added a quickcheck test
This commit is contained in:
parent
c12caf0a4e
commit
92df8250fa
3 changed files with 58 additions and 36 deletions
2
test.hs
2
test.hs
|
@ -47,6 +47,7 @@ import qualified Utility.FileMode
|
|||
import qualified Utility.Gpg
|
||||
import qualified Build.SysConfig
|
||||
import qualified Utility.Format
|
||||
import qualified Utility.Verifiable
|
||||
|
||||
-- for quickcheck
|
||||
instance Arbitrary Types.Key.Key where
|
||||
|
@ -89,6 +90,7 @@ quickcheck = TestLabel "quickcheck" $ TestList
|
|||
, qctest "prop_hmacWithCipher_sane" Crypto.prop_hmacWithCipher_sane
|
||||
, qctest "prop_TimeStamp_sane" Logs.UUIDBased.prop_TimeStamp_sane
|
||||
, qctest "prop_addLog_sane" Logs.UUIDBased.prop_addLog_sane
|
||||
, qctest "prop_verifiable_sane" Utility.Verifiable.prop_verifiable_sane
|
||||
]
|
||||
|
||||
blackbox :: Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue