| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Cardano.Ledger.CanonicalState.Conformance
Synopsis
Documentation
propReferenceAcceptsCBOR Source #
Arguments
| ∷ CTreeRoot MonoReferenced | CDDL spec to generate CBOR from |
| → CTreeRoot MonoReferenced | Reference CDDL spec to validate against |
| → Direction | Direction of testing |
| → IO (Either FailureInfo ()) |
Test if a reference CDDL accepts CBOR generated from another spec
data FailureInfo Source #
Information about a validation failure
Constructors
| FailureInfo | |
Fields | |
Instances
| Show FailureInfo Source # | |
Defined in Test.Cardano.Ledger.CanonicalState.Conformance Methods showsPrec ∷ Int → FailureInfo → ShowS # show ∷ FailureInfo → String # showList ∷ [FailureInfo] → ShowS # | |
| Eq FailureInfo Source # | |
Direction of conformance test
Constructors
| HuddleValidating | Reference CDDL generated the CBOR, Huddle validated it |
| ReferenceValidating | Huddle generated the CBOR, Reference CDDL validated it |