Safe Haskell | None |
---|---|
Language | Haskell2010 |
FreeC.Frontend.IR.ScannerTests
Description
This module contains tests for FreeC.Frontend.IR.Scanner.
Synopsis
- scanTest :: String -> Reporter [Token]
- shouldScan :: String -> [Token] -> Expectation
- testIRScanner :: Spec
Documentation
shouldScan :: String -> [Token] -> Expectation Source #
Sets the expectation that scan
produces the given token stream for
the given input.
testIRScanner :: Spec Source #
Test group for FreeC.Frontend.IR.Scanner tests.