tests
Safe HaskellNone
LanguageHaskell2010

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

data Direction Source #

Direction of conformance test

Constructors

HuddleValidating

Reference CDDL generated the CBOR, Huddle validated it

ReferenceValidating

Huddle generated the CBOR, Reference CDDL validated it

Instances

Instances details
Show Direction Source # 
Instance details

Defined in Test.Cardano.Ledger.CanonicalState.Conformance

Methods

showsPrecIntDirectionShowS #

showDirectionString #

showList ∷ [Direction] → ShowS #

Eq Direction Source # 
Instance details

Defined in Test.Cardano.Ledger.CanonicalState.Conformance

Methods

(==)DirectionDirectionBool #

(/=)DirectionDirectionBool #