# Functions
Initialize checks the environment and alters the timeout scale accordingly.
NewMockClock builds a new mock clock using the current actual time as the initial time.
Sleep scales the sleep duration by $TEST_TIMEOUT_SCALE.
Timeout scales the provided duration by $TEST_TIMEOUT_SCALE.
# Structs
Buffer is an implementation of ladcore.WriteSyncer that sends all writes to a bytes.Buffer.
A Discarder sends all writes to io.Discard.
FailWriter is a WriteSyncer that always returns an error on writes.
MockClock is a fake source of time.
ShortWriter is a WriteSyncer whose write method never fails, but nevertheless fails to the last byte of the input.
A Syncer is a spy for the Sync portion of ladcore.WriteSyncer.