Safe Haskell | None |
---|---|
Language | Haskell2010 |
Test.Hedgehog.Roundtrip.CBOR
Synopsis
- trippingCbor :: HasCallStack => MonadTest m => Show a => Eq a => SerialiseAsCBOR a => AsType a -> a -> m ()
Documentation
trippingCbor :: HasCallStack => MonadTest m => Show a => Eq a => SerialiseAsCBOR a => AsType a -> a -> m () Source #
Assert that CBOR serialisation and deserialisation roundtrips.