MissingH-0.14.5ContentsIndex
MissingH.HUnit
Portabilityportable
Stabilityprovisional
MaintainerJohn Goerzen <jgoerzen@complete.org>
Description

Utilities for HUnit unit testing.

Written by John Goerzen, jgoerzen@complete.org

Synopsis
assertRaises :: Show a => String -> Exception -> IO a -> IO ()
mapassertEqual :: (Show b, Eq b) => String -> (a -> b) -> [(a, b)] -> [Test]
Documentation
assertRaises :: Show a => String -> Exception -> IO a -> IO ()
Asserts that a specific exception is raised by a given action.
mapassertEqual :: (Show b, Eq b) => String -> (a -> b) -> [(a, b)] -> [Test]
Produced by Haddock version 0.7