hashes-0.2.0.0: test/Main.hs
{-# LANGUAGE CPP #-}
-- |
-- Module: Main
-- Copyright: Copyright © 2021 Lars Kuhtz <lakuhtz@gmail.com>
-- License: MIT
-- Maintainer: Lars Kuhtz <lakuhtz@gmail.com>
-- Stability: experimental
--
module Main
( main
, tests
) where
import qualified Test.Data.Hash.FNV1
import qualified Test.Data.Hash.SipHash
import qualified Test.Data.Hash.Class.Pure
#if defined(TEST_CRYPTONITE)
import qualified Cryptonite
#endif
import Test.Syd
main :: IO ()
main = sydTest tests
tests :: Spec
tests = do
describe "Test.Data.Hash.FNV1.tests" Test.Data.Hash.FNV1.tests
describe "Test.Data.Hash.SipHash.tests" Test.Data.Hash.SipHash.tests
describe "Test.Data.Hash.Class.Pure" Test.Data.Hash.Class.Pure.tests
#if defined(TEST_CRYPTONITE)
describe "Cryptonite" Cryptonite.tests
#endif