diff options
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 | ||