ouroboros-network-protocols:testlib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.BlockFetch.Test

Documentation

Orphan instances

Arbitrary point => Arbitrary (ChainRange point) Source # 
Instance details

Methods

arbitrary :: Gen (ChainRange point) #

shrink :: ChainRange point -> [ChainRange point] #

(Arbitrary block, Arbitrary point) => Arbitrary (AnyMessage (BlockFetch block point)) Source # 
Instance details

Methods

arbitrary :: Gen (AnyMessage (BlockFetch block point)) #

shrink :: AnyMessage (BlockFetch block point) -> [AnyMessage (BlockFetch block point)] #

(Eq block, Eq point) => Eq (AnyMessage (BlockFetch block point)) Source # 
Instance details

Methods

(==) :: AnyMessage (BlockFetch block point) -> AnyMessage (BlockFetch block point) -> Bool #

(/=) :: AnyMessage (BlockFetch block point) -> AnyMessage (BlockFetch block point) -> Bool #

Arbitrary (Serialised Block) Source # 
Instance details