File: Main.hs

package info (click to toggle)
haskell-cborg 0.2.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 808 kB
  • sloc: haskell: 8,273; ansic: 14; makefile: 3
file content (30 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (3)
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
28
29
30
module Main (main) where

import           Test.Tasty (TestTree, defaultMain, testGroup)

import qualified Tests.Reference  as Reference
import qualified Tests.UnitTests  as UnitTests
import qualified Tests.Properties as Properties
import qualified Tests.Boundary   as Boundary
import qualified Tests.ByteOffset as ByteOffset
import qualified Tests.Canonical  as Canonical
import qualified Tests.Regress    as Regress
import qualified Tests.UTF8       as UTF8
import qualified Tests.PreEncoded as PreEncoded

main :: IO ()
main = defaultMain tests

tests :: TestTree
tests =
  testGroup "CBOR"
    [ Reference.testTree
    , UnitTests.testTree
    , Properties.testTree
    , ByteOffset.testTree
    , Boundary.testTree
    , Canonical.testTree
    , Regress.testTree
    , UTF8.testTree
    , PreEncoded.testTree
    ]