File: Test.hs

package info (click to toggle)
haskell-linear 1.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 364 kB
  • sloc: haskell: 5,235; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 553 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
{-# LANGUAGE CPP #-}
module Main (main) where

import Test.Tasty (defaultMain, testGroup, TestTree)

import qualified Prop.Quaternion
import qualified Unit.Binary
import qualified Unit.Plucker
import qualified Unit.V

tests :: [TestTree]
tests =
  [ testGroup "Property tests"
    [ testGroup "Quaternion" Prop.Quaternion.tests
    ]
  , testGroup "Unit tests"
    [ testGroup "Binary" Unit.Binary.tests
    , testGroup "Plucker" Unit.Plucker.tests
    , testGroup "V" Unit.V.tests
    ]
  ]

main :: IO ()
main = defaultMain $ testGroup "linear" tests