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

Test.Cardano.Ledger.Generic.PrettyTest

Synopsis

Documentation

testwidthIntGen a → (a → PDoc) → IO () Source #

Used to test pretty printing things with different widths for example: testwidth 120 ls ppLedgerState prints a random LedgerState with a max width of 120 columns one can use this to observe the how "pretty" a printer is at different widths