ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Test.Consensus.PeerSimulator.Tests

Synopsis

Documentation

data TestKey Source #

Each value of this type uniquely corresponds to a basic functionality test.

Instances

Instances details
Eq TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests

Methods

(==) ∷ TestKey → TestKey → Bool #

(/=) ∷ TestKey → TestKey → Bool #

Ord TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests

Methods

compare ∷ TestKey → TestKey → Ordering #

(<) ∷ TestKey → TestKey → Bool #

(<=) ∷ TestKey → TestKey → Bool #

(>) ∷ TestKey → TestKey → Bool #

(>=) ∷ TestKey → TestKey → Bool #

max ∷ TestKey → TestKey → TestKey #

min ∷ TestKey → TestKey → TestKey #

Generic TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests

Associated Types

type Rep TestKey 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests

type Rep TestKey = D1 ('MetaData "TestKey" "Test.Consensus.PeerSimulator.Tests" "ouroboros-consensus-4.0.0.0-inplace-consensus-diffusion-test" 'False) (C1 ('MetaCons "LinkedThreads" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TestKey)) :+: (C1 ('MetaCons "Rollback" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TestKey)) :+: C1 ('MetaCons "Timeouts" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TestKey))))

Methods

from ∷ TestKey → Rep TestKey x #

to ∷ Rep TestKey x → TestKey #

SmallKey TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests

Methods

allKeys ∷ [TestKey]

type Rep TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests

type Rep TestKey = D1 ('MetaData "TestKey" "Test.Consensus.PeerSimulator.Tests" "ouroboros-consensus-4.0.0.0-inplace-consensus-diffusion-test" 'False) (C1 ('MetaCons "LinkedThreads" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TestKey)) :+: (C1 ('MetaCons "Rollback" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TestKey)) :+: C1 ('MetaCons "Timeouts" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TestKey))))