Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- tests :: TestTree
- prop_direct :: Fun Word8 Int -> [PeerSharingAmount] -> Property
- prop_connect :: Fun Word8 Int -> [PeerSharingAmount] -> Property
- prop_channel :: (MonadST m, MonadAsync m, MonadCatch m) => Fun Word8 Int -> [PeerSharingAmount] -> m Property
- prop_channel_ST :: Fun Word8 Int -> [PeerSharingAmount] -> Property
- prop_channel_IO :: Fun Word8 Int -> [PeerSharingAmount] -> Property
- prop_codec :: AnyMessageAndAgency (PeerSharing Int) -> Bool
- prop_codec_cbor :: AnyMessageAndAgency (PeerSharing Int) -> Bool
- prop_codec_valid_cbor :: AnyMessageAndAgency (PeerSharing Int) -> Property
- prop_codec_splits2 :: AnyMessageAndAgency (PeerSharing Int) -> Bool
- prop_codec_splits3 :: AnyMessageAndAgency (PeerSharing Int) -> Bool
- prop_byteLimits :: AnyMessageAndAgency (PeerSharing Int) -> Bool
Documentation
prop_direct :: Fun Word8 Int -> [PeerSharingAmount] -> Property Source #
prop_connect :: Fun Word8 Int -> [PeerSharingAmount] -> Property Source #
prop_channel :: (MonadST m, MonadAsync m, MonadCatch m) => Fun Word8 Int -> [PeerSharingAmount] -> m Property Source #
prop_channel_ST :: Fun Word8 Int -> [PeerSharingAmount] -> Property Source #
prop_channel_IO :: Fun Word8 Int -> [PeerSharingAmount] -> Property Source #
prop_codec :: AnyMessageAndAgency (PeerSharing Int) -> Bool Source #
prop_codec_splits2 :: AnyMessageAndAgency (PeerSharing Int) -> Bool Source #
Check for data chunk boundary problems in the codec using 2 chunks.
prop_codec_splits3 :: AnyMessageAndAgency (PeerSharing Int) -> Bool Source #
Check for data chunk boundary problems in the codec using 3 chunks.
Orphan instances
Arbitrary PeerSharingAmount Source # | |
Arbitrary peer => Arbitrary (AnyMessageAndAgency (PeerSharing peer)) Source # | |
arbitrary :: Gen (AnyMessageAndAgency (PeerSharing peer)) # shrink :: AnyMessageAndAgency (PeerSharing peer) -> [AnyMessageAndAgency (PeerSharing peer)] # | |
Eq peer => Eq (AnyMessage (PeerSharing peer)) Source # | |
(==) :: AnyMessage (PeerSharing peer) -> AnyMessage (PeerSharing peer) -> Bool # (/=) :: AnyMessage (PeerSharing peer) -> AnyMessage (PeerSharing peer) -> Bool # |