cardano-ledger-shelley-test-1.6.0.0: Test helpers from cardano-ledger-shelley exposed to other packages
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Shelley.Serialisation.GoldenUtils

Documentation

checkEncoding ∷ (HasCallStack, Show a, Eq a) ⇒ Version → (a → Encoding) → (ByteStringEither DecoderError a) → String → a → ToTokensTestTree Source #

data ToTokens where Source #

Constructors

T ∷ (TokensTokens) → ToTokens 
SEncCBOR a ⇒ a → ToTokens 
GEncCBORGroup a ⇒ a → ToTokens 
PlusToTokensToTokensToTokens 

roundTripFailureShow a ⇒ Version → (a → Encoding) → (ByteStringEither DecoderError a) → a → Assertion Source #