hunit-parsec-0.3: An HUnit Testable instance for Parsec parser unit tests.

Test.HUnit.Parsec

Documentation

data ParsecTest tok st t Source

Constructors

ParsecTest 

Fields

parser :: GenParser tok st t
 
initState :: st
 
positiveCases :: [(t, [[tok]])]
 
negativeCases :: [[tok]]
 

Instances

(Show tok, Eq t, Show t) => Testable (ParsecTest tok st t)