summaryrefslogtreecommitdiff
path: root/test/Spec.hs
blob: 5466493aa99aa5bd69e42d83b3f9c1cd50fa4625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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,
    ]