cardano-ledger-mary-1.9.0.0: Cardano ledger with multiasset support.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Mary.Arbitrary

Synopsis

Documentation

genMultiAssetCompletelyEmptyGen MultiAsset Source #

Generate completely empty MultiAsset (empty top-level map) This should succeed in Conway but fail in Dijkstra

genMultiAssetNestedEmptyGen MultiAsset Source #

Generate MultiAsset with non-empty top-level map but empty nested asset maps This should fail in both Conway and Dijkstra

genMultiAssetZeroGen MultiAsset Source #

For tests, because insertMultiAsset called through genMultiAsset filters out zero values

genPositiveIntGen Int Source #

Better generator for a positive Int that explores more values

genNegativeIntGen Int Source #

Better generator for a Negative Int that explores more values

genNonNegativeIntGen Int Source #

Better generator for a Non-Negative Int that explores more values

Orphan instances