mirror of
https://github.com/github/semantic.git
synced 2024-12-18 20:31:55 +03:00
16 lines
391 B
Haskell
16 lines
391 B
Haskell
{-# LANGUAGE DataKinds #-}
|
|
module TermSpec where
|
|
|
|
import Category
|
|
import Data.Functor.Listable
|
|
import Term
|
|
import Test.Hspec (Spec, describe, parallel)
|
|
import Test.Hspec.Expectations.Pretty
|
|
import Test.Hspec.LeanCheck
|
|
|
|
spec :: Spec
|
|
spec = parallel $ do
|
|
describe "Term" $ do
|
|
prop "equality is reflexive" $
|
|
\ a -> unListableF a `shouldBe` (unListableF a :: SyntaxTerm '[Category])
|