feat: QuickCheck testing
This commit is contained in:
parent
cbccc8253b
commit
95f86c8660
5 changed files with 101 additions and 2 deletions
|
@ -62,6 +62,8 @@ test-suite bf-optimize-test
|
|||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
other-modules:
|
||||
Arbitrary.InvalidBrainfuckProgram
|
||||
Arbitrary.ValidBrainfuckProgram
|
||||
Paths_bf_optimize
|
||||
autogen-modules:
|
||||
Paths_bf_optimize
|
||||
|
@ -69,7 +71,8 @@ test-suite bf-optimize-test
|
|||
test
|
||||
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
|
||||
build-depends:
|
||||
base >=4.7 && <5
|
||||
QuickCheck
|
||||
, base >=4.7 && <5
|
||||
, bf-optimize
|
||||
, text
|
||||
, vector
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue