cardano-api:gen
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.