immutaball-core-0.1.0.4.1: Test/Immutaball/Test.hs
{-# OPTIONS_GHC -fno-warn-tabs #-} -- Support tab indentation better, for a better default of no warning if tabs are used: https://dmitryfrank.com/articles/indent_with_tabs_align_with_spaces .
-- Enable warnings:
{-# OPTIONS_GHC -Wall -fno-warn-tabs #-}
-- Test.hs.
{-# LANGUAGE Haskell2010 #-}
module Test.Immutaball.Test
(
main,
testsMain,
tests
) where
--import Test.HUnit
--import Test.QuickCheck
import Test.Tasty
--import Test.Tasty.HUnit hiding ((@?=), assertBool)
--import Test.Tasty.QuickCheck
import qualified Test.Immutaball.Share.Math.Test
import qualified Test.Immutaball.Share.State.Test
import qualified Test.Immutaball.Share.Wire.Test
main :: IO ()
main = testsMain
testsMain :: IO ()
testsMain = defaultMain (tests False)
tests :: Bool -> TestTree
tests headless = testGroup "Immutaball" $
[
Test.Immutaball.Share.Wire.Test.tests,
Test.Immutaball.Share.State.Test.tests headless,
Test.Immutaball.Share.Math.Test.tests
]