Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype ArbitrarySockAddr Source #
Instances
Arbitrary ArbitrarySockAddr Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies | |
Show ArbitrarySockAddr Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies showsPrec :: Int -> ArbitrarySockAddr -> ShowS # show :: ArbitrarySockAddr -> String # showList :: [ArbitrarySockAddr] -> ShowS # | |
Eq ArbitrarySockAddr Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies (==) :: ArbitrarySockAddr -> ArbitrarySockAddr -> Bool # (/=) :: ArbitrarySockAddr -> ArbitrarySockAddr -> Bool # | |
Ord ArbitrarySockAddr Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies compare :: ArbitrarySockAddr -> ArbitrarySockAddr -> Ordering # (<) :: ArbitrarySockAddr -> ArbitrarySockAddr -> Bool # (<=) :: ArbitrarySockAddr -> ArbitrarySockAddr -> Bool # (>) :: ArbitrarySockAddr -> ArbitrarySockAddr -> Bool # (>=) :: ArbitrarySockAddr -> ArbitrarySockAddr -> Bool # max :: ArbitrarySockAddr -> ArbitrarySockAddr -> ArbitrarySockAddr # min :: ArbitrarySockAddr -> ArbitrarySockAddr -> ArbitrarySockAddr # |
data ArbitraryPeerInfo Source #
ArbitraryPeerInfo | |
|
Instances
Arbitrary ArbitraryPeerInfo Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies | |
Show ArbitraryPeerInfo Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies showsPrec :: Int -> ArbitraryPeerInfo -> ShowS # show :: ArbitraryPeerInfo -> String # showList :: [ArbitraryPeerInfo] -> ShowS # |
data ArbitraryPolicyArguments Source #
Instances
data ArbitraryDemotion Source #
Instances
Arbitrary ArbitraryDemotion Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies | |
Show ArbitraryDemotion Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies showsPrec :: Int -> ArbitraryDemotion -> ShowS # show :: ArbitraryDemotion -> String # showList :: [ArbitraryDemotion] -> ShowS # |
newtype ArbitraryChurnMode Source #
Instances
Arbitrary ArbitraryChurnMode Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies | |
Show ArbitraryChurnMode Source # | |
Defined in Test.Ouroboros.Network.Testnet.Policies showsPrec :: Int -> ArbitraryChurnMode -> ShowS # show :: ArbitraryChurnMode -> String # showList :: [ArbitraryChurnMode] -> ShowS # |
prop_hotToWarm :: ArbitraryPolicyArguments -> Int -> Property Source #
prop_hotToWarmM :: MonadLabelledSTM m => ArbitraryPolicyArguments -> Int -> m Property Source #
prop_randomDemotionM :: MonadLabelledSTM m => ArbitraryPolicyArguments -> Int -> m Property Source #