cardano-api-8.36.1.1: The cardano api
Safe HaskellNone
LanguageHaskell2010

Test.Hedgehog.Roundtrip.CBOR

Synopsis

Documentation

trippingCbor :: HasCallStack => MonadTest m => Show a => Eq a => SerialiseAsCBOR a => AsType a -> a -> m () Source #

Assert that CBOR serialisation and deserialisation roundtrips.