packages feed

genvalidity-hspec-binary-0.0.0.0: test/Test/Validity/BinarySpec.hs

{-# LANGUAGE TypeApplications #-}

module Test.Validity.BinarySpec where

import Test.Hspec

import Data.GenValidity
import Test.Validity.Binary

spec :: Spec
spec = do
    binarySpecOnGen (genListOf $ pure 'a') "sequence of 'a's"
    binarySpecOnValid @Double
    binarySpec @Int
    binarySpecOnArbitrary @Int