# Functions
CompareBatches is a testing helper that compares two batches and fails the test if all fields are not equal.
CompareChainState is a test helper that compares two ChainStates and fails the test if they are not exactly equal.
MustNewAddress will generate a new random address (20 byte slice).
MustNewBatch will create a new test batch.
MustNewBatchStamp will generate a postage stamp with the provided batch ID and assign random data to other fields.
MustNewBatchStamp will generate a postage stamp with the provided batch ID and assign random data to other fields.
MustNewID will generate a new random ID (32 byte slice).
MustNewSignature will create a new random signature (65 byte slice).
MustNewStamp will generate a invalid postage stamp with random data.
MustNewStampWithTimestamp will generate a postage stamp with provided timestamp and random data for other fields.
MustNewValidSignature will create a new valid signature.
MustNewValidStamp will generate a valid postage stamp with random data.
NewBigInt will generate a new random big int (uint64 base value).
NewChainState will create a new ChainState with random values.
WithDepth will set the batch Depth to the given depth.
WithOwner will set the batch owner on a randomized batch.
WithStart will set the batch Start to the given start.
WithValue will set the batch Value to the given value.
# Type aliases
BatchOption is an optional parameter for NewBatch.