ouroboros-consensus-0.21.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Ouroboros.Consensus.Protocol

Synopsis

Documentation

tests_chainOrder ∷ ∀ a. (ChainOrder a, Typeable a, Arbitrary a, Show a, Arbitrary (ChainOrderConfig a), Show (ChainOrderConfig a)) ⇒ Proxy a → TestTree Source #

Test the laws of the ChainOrder class (in particular, that Ord is lawful) except for the high-level "Chain extension precedence" property.