{-# LANGUAGE CPP #-} -- | -- Module: Main -- Copyright: Copyright © 2021 Lars Kuhtz -- License: MIT -- Maintainer: Lars Kuhtz -- 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(WITH_OPENSSL) import qualified Test.Data.Hash.SHA3 #endif #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(WITH_OPENSSL) describe "Test.Data.Hash.SHA3" Test.Data.Hash.SHA3.tests #endif #if defined(TEST_CRYPTONITE) describe "Cryptonite" Cryptonite.tests #endif