diff options
author | Akshay <[email protected]> | 2020-10-08 06:23:41 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-10-08 06:23:41 +0100 |
commit | 0775dea2bc79cb1b5ee56f74f8076fc30a394127 (patch) | |
tree | 749e3d9534c3bea145a31cfe332c758720f71d3c /tests | |
parent | 4e60f9745e09959d0ce82810998d683372c0a1d4 (diff) |
init
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Main.hs | 8 | ||||
-rw-r--r-- | tests/Properties.hs | 15 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/Main.hs b/tests/Main.hs new file mode 100644 index 0000000..a05ddb1 --- /dev/null +++ b/tests/Main.hs | |||
@@ -0,0 +1,8 @@ | |||
1 | module Main where | ||
2 | |||
3 | import Properties | ||
4 | import Test.Framework.Providers.QuickCheck2 | ||
5 | import Test.Framework.Runners.Console (defaultMain) | ||
6 | import Test.QuickCheck | ||
7 | |||
8 | main = defaultMain [ Properties.tests ] | ||
diff --git a/tests/Properties.hs b/tests/Properties.hs new file mode 100644 index 0000000..b42cd4b --- /dev/null +++ b/tests/Properties.hs | |||
@@ -0,0 +1,15 @@ | |||
1 | {-# LANGUAGE TemplateHaskell #-} | ||
2 | module Properties where | ||
3 | |||
4 | import Parser (Expr (..), | ||
5 | parseLispValue, | ||
6 | parseQuote) | ||
7 | |||
8 | import Test.Framework.Providers.QuickCheck2 | ||
9 | import Test.Framework.TH | ||
10 | import Test.QuickCheck | ||
11 | import Text.ParserCombinators.Parsec | ||
12 | |||
13 | -- some tests would go here hopefully | ||
14 | |||
15 | tests = $testGroupGenerator | ||