falsify-0.4.0: Property-based testing with internal integrated shrinking
Safe HaskellNone
LanguageHaskell2010

Test.Falsify.ShrinkTree

Contents

Description

Hedgehog-style shrink trees

Intended for qualified import.

import Test.Falsify
import qualified Test.Falsify.ShrinkTree as ShrinkTree
Synopsis

Documentation

newtype ShrinkTree a Source #

Hedgehog-style shrink tree

Constructors

WrapShrinkTree 

Fields

Instances

Instances details
Functor ShrinkTree Source # 
Instance details

Defined in Test.Falsify.ShrinkTree

Methods

fmap :: (a -> b) -> ShrinkTree a -> ShrinkTree b #

(<$) :: a -> ShrinkTree b -> ShrinkTree a #

Show a => Show (ShrinkTree a) Source # 
Instance details

Defined in Test.Falsify.ShrinkTree

Eq a => Eq (ShrinkTree a) Source # 
Instance details

Defined in Test.Falsify.ShrinkTree

Methods

(==) :: ShrinkTree a -> ShrinkTree a -> Bool #

(/=) :: ShrinkTree a -> ShrinkTree a -> Bool #

Construction

unfold :: a -> (a -> [a]) -> ShrinkTree a Source #

Quickcheck-style manual shrinking