exchangealgebra-0.6.0.0: test/fixtures/write-rows-0510/README.md
# Write rows 0.5.1.0 golden fixtures
These schema-1 fixtures freeze the exact tabular output of the pure row
generators exported by `ExchangeAlgebra.IO.Output.Statements`. They preserve
compatibility for the continuing bookkeeping layouts.
| Fixture | Frozen call |
|---|---|
| `ebex6-compound-trial-balance.tsv` | `compoundTrialBalanceRows ex6AllEntries` |
| `ebex7-compound-trial-balance.tsv` | `compoundTrialBalanceRows (foldr (.+) Zero (map snd ex7AllBalanced))` |
| `ebex8-compound-trial-balance.tsv` | `compoundTrialBalanceRows (foldr (.+) Zero (map snd ex8SimpleBalanced))` |
| `ebex8-journal.tsv` | `journalRows ex8CorrectionLedger ex8GetDay` |
| `ebex8-account-ledger.tsv` | `accountLedgerRows [Cash, AccountsReceivable, Sales] ex8CorrectionLedger ex8GetDay` |
| `ebex8-account-ledger-journal.tsv` | `accountLedgerRowsJournal [Cash, AccountsReceivable, Sales] ex8Journal` |
| `ebex9-worksheet.tsv` | `worksheetRows ex9PreAdjustment ex9Adjustments` |
| `ebex9-post-closing-trial-balance.tsv` | `postClosingTrialBalanceRows ex9AfterClosing` |
The inputs are direct, order-preserving transcriptions of the top-level values
in `examples/basic/elementaryBookkeepingEx6.hs` through
`elementaryBookkeepingEx9.hs`. The examples are `Main` modules and therefore
cannot be imported by the test suite.
Regenerate into a temporary directory with:
```text
stack exec runghc -- -isrc -itest tools/DumpWriteRowsGolden.hs <outdir>
```
The fixtures record observed behavior, not endorsed accounting output.
`ebex8-journal.tsv` shows the same-day reversal pair as `Sales` on both sides.
The legacy balance-sheet and profit-and-loss fixtures were removed in 0.6.0.0.
New fixtures may be added. Any difference from an existing fixture is a test
failure. Regenerate an existing fixture only for an intentional behavior
change recorded in a plan. This rule preserves the evidence that the 0.6.0.0
move to `IO.Output.Statements` does not change behavior.