cardano-ledger-shelley-test-1.5.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 #

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