cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.STS

Documentation

type GenShrink a = (Gen a, a → [a]) Source #

genShrinkFromSpec ∷ ∀ fn a. HasSpec fn a ⇒ Specification fn a → GenShrink a Source #

stsPropertyV2 ∷ ∀ r fn era env st sig fail p. (era ~ ConwayEra StandardCrypto, Environment (EraRule r era) ~ env, State (EraRule r era) ~ st, Signal (EraRule r era) ~ sig, PredicateFailure (EraRule r era) ~ fail, STS (EraRule r era), BaseM (EraRule r era) ~ ReaderT Globals Identity, PrettyA st, PrettyA sig, PrettyA env, PrettyA fail, Testable p, HasSpec fn env, HasSpec fn st, HasSpec fn sig) ⇒ Specification fn env → (env → Specification fn st) → (env → st → Specification fn sig) → (env → st → sig → st → p) → Property Source #