File: Test.hs

package info (click to toggle)
haskell-ixset 1.1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 104 kB
  • sloc: haskell: 743; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Main where

import Data.IxSet.Tests (allTests)
import Prelude hiding (catch)
import Test.HUnit (failures, runTestTT)
import qualified Test.HUnit as HUnit
import System.Exit (exitFailure)
import qualified System.Exit as Exit
import Test.HUnit
import Test.HUnit.Text

main = do
    count <- HUnit.runTestTT (TestList allTests)
    if HUnit.failures count > 0 then Exit.exitFailure else return ()