@@ -28,3 +28,24 @@ library
2828 build-depends: QuickCheck >= 2.14, base >=4.8 && <5
2929 hs-source-dirs: src
3030 default-language: Haskell2010
31+
32+test-suite test
33+ type: exitcode-stdio-1.0
34+ hs-source-dirs: test
35+ main-is: Test.hs
36+ default-language: Haskell2010
37+ build-depends: base >= 4.8 && <5
38+ , QuickCheck
39+ , deepseq
40+ , generic-arbitrary
41+ , tasty
42+ , tasty-discover
43+ , tasty-quickcheck
44+ other-modules: RecursiveTest
45+ build-tools: tasty-discover
46+ ghc-options: -Wall
47+ -threaded
48+ -rtsopts
49+ "-with-rtsopts=-N -A64m -qb0 -n4m -T -I1"
50+ ghc-prof-options: -fprof-auto
51+ default-extensions: DeriveGeneric