File: Spec.hs

package info (click to toggle)
haskell-nonempty-containers 0.3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: haskell: 8,856; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- import           Test.Tasty.Hedgehog
-- import           Test.Tasty.Ingredients.ConsoleReporter
import Test.Tasty
import Tests.IntMap
import Tests.IntSet
import Tests.Map
import Tests.Sequence
import Tests.Set

setOpts :: TestTree -> TestTree
setOpts = id

-- setOpts = localOption (HedgehogTestLimit    (Just 500))
--         . localOption (HedgehogDiscardLimit (Just 500))
--         . localOption (HideSuccesses        True      )

main :: IO ()
main =
  defaultMain . setOpts $
    testGroup
      "Tests"
      [ mapTests
      , setTests
      , intMapTests
      , intSetTests
      , sequenceTests
      ]