summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2021-05-16 18:22:49 -0400
committercyfraeviolae <cyfraeviolae>2021-05-16 18:22:49 -0400
commit1da9b25ff814d681afc3b741739bffbca7cc45e8 (patch)
tree9227ecf9bc54973d536c837c685101b6c69c7fcb /test
init
Diffstat (limited to 'test')
-rw-r--r--test/Spec.hs20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/Spec.hs b/test/Spec.hs
new file mode 100644
index 0000000..5466493
--- /dev/null
+++ b/test/Spec.hs
@@ -0,0 +1,20 @@
+import Data.List
+import qualified Data.Map as M
+import Debug.Trace
+import Lib
+import Parser
+import Test.Tasty
+import Test.Tasty.HUnit
+import Test.Tasty.QuickCheck as QC
+
+main = defaultMain tests
+
+tests :: TestTree
+tests = testGroup "Tests" [unitTests]
+
+unitTests =
+ testGroup
+ "Unit tests"
+ [
+ testCase "" $ ev (cc "Ex.x+1=2") @?= True,
+ ]