File: TreeSpec.hs

package info (click to toggle)
haskell-genvalidity-containers 1.0.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 120 kB
  • sloc: haskell: 272; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE TypeApplications #-}

module Data.GenValidity.Containers.TreeSpec where

import Data.GenValidity.Tree ()
import Data.Tree (Tree)
import Test.Hspec
import Test.Validity

spec :: Spec
spec = do
  genValidSpec @(Tree Int)
  genValidSpec @(Tree Rational)