ouroboros-network:protocols-tests-lib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.LocalTxMonitor.Test

Documentation

Orphan instances

Arbitrary MeasureName Source # 
Instance details

Methods

arbitrary :: Gen MeasureName #

shrink :: MeasureName -> [MeasureName] #

Arbitrary MempoolMeasures Source # 
Instance details

Methods

arbitrary :: Gen MempoolMeasures #

shrink :: MempoolMeasures -> [MempoolMeasures] #

Arbitrary MempoolSizeAndCapacity Source # 
Instance details

Methods

arbitrary :: Gen MempoolSizeAndCapacity #

shrink :: MempoolSizeAndCapacity -> [MempoolSizeAndCapacity] #

Arbitrary (SizeAndCapacity Integer) Source # 
Instance details

Methods

arbitrary :: Gen (SizeAndCapacity Integer) #

shrink :: SizeAndCapacity Integer -> [SizeAndCapacity Integer] #

(Arbitrary txid, Arbitrary tx, Arbitrary slot) => Arbitrary (AnyMessage (LocalTxMonitor txid tx slot)) Source # 
Instance details

Methods

arbitrary :: Gen (AnyMessage (LocalTxMonitor txid tx slot)) #

shrink :: AnyMessage (LocalTxMonitor txid tx slot) -> [AnyMessage (LocalTxMonitor txid tx slot)] #

(Eq txid, Eq tx, Eq slot) => Eq (AnyMessage (LocalTxMonitor txid tx slot)) Source # 
Instance details

Methods

(==) :: AnyMessage (LocalTxMonitor txid tx slot) -> AnyMessage (LocalTxMonitor txid tx slot) -> Bool #

(/=) :: AnyMessage (LocalTxMonitor txid tx slot) -> AnyMessage (LocalTxMonitor txid tx slot) -> Bool #