Add QuickCheck print/parse tests

This commit is contained in:
2024-12-11 17:34:52 -05:00
parent c47f713a0d
commit d66f1e1401
2 changed files with 127 additions and 0 deletions

View File

@@ -92,3 +92,36 @@ executable windows12
-- Base language which the package is written in.
default-language: Haskell2010
executable windows12-qc
-- Import common warning flags.
import: warnings
-- .hs or .lhs file containing the Main module.
main-is: QuickCheckTests.hs
-- Modules included in this executable, other than Main.
other-modules:
Windows12.Ast
Windows12.Lexer
Windows12.Parser
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
-- Other library packages from which modules are imported.
build-depends:
base >= 4.15.1 && < 4.16,
megaparsec >= 9.6.1 && < 9.7,
text >= 1.2.5 && < 1.3,
parser-combinators >= 1.3.0 && < 1.4,
prettyprinter >= 1.5.1 && < 1.6,
string-conversions >= 0.4.0 && < 0.5,
mtl >= 2.2.2 && < 2.3,
QuickCheck >= 2.14.2 && < 2.15,
-- Directories containing source files.
hs-source-dirs: src
-- Base language which the package is written in.
default-language: Haskell2010