aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Main.hs8
-rw-r--r--tests/Properties.hs15
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 @@
1module Main where
2
3import Properties
4import Test.Framework.Providers.QuickCheck2
5import Test.Framework.Runners.Console (defaultMain)
6import Test.QuickCheck
7
8main = 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 #-}
2module Properties where
3
4import Parser (Expr (..),
5 parseLispValue,
6 parseQuote)
7
8import Test.Framework.Providers.QuickCheck2
9import Test.Framework.TH
10import Test.QuickCheck
11import Text.ParserCombinators.Parsec
12
13-- some tests would go here hopefully
14
15tests = $testGroupGenerator