aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-10-08 06:23:41 +0100
committerAkshay <[email protected]>2020-10-08 06:23:41 +0100
commit0775dea2bc79cb1b5ee56f74f8076fc30a394127 (patch)
tree749e3d9534c3bea145a31cfe332c758720f71d3c /tests
parent4e60f9745e09959d0ce82810998d683372c0a1d4 (diff)
init
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