ouroboros-network-protocols:testlib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.PeerSharing.Test

Synopsis

Documentation

prop_codec_splits2 :: AnyMessage (PeerSharing Int) -> Bool Source #

Check for data chunk boundary problems in the codec using 2 chunks.

prop_codec_splits3 :: AnyMessage (PeerSharing Int) -> Bool Source #

Check for data chunk boundary problems in the codec using 3 chunks.

Orphan instances

Arbitrary PeerSharingAmount Source # 
Instance details

Arbitrary peer => Arbitrary (AnyMessage (PeerSharing peer)) Source # 
Instance details

Eq peer => Eq (AnyMessage (PeerSharing peer)) Source # 
Instance details