Documentation ¶ Index ¶ Constants func IterCount() int func RandMountImage(r *rand.Rand) []byte func RandSource(t *testing.T) rand.Source func RandValue(t *testing.T, typ any) any type Writer func (w *Writer) Write(data []byte) (int, error) Constants ¶ View Source const RaceEnabled = false Variables ¶ This section is empty. Functions ¶ func IterCount ¶ func IterCount() int func RandMountImage ¶ func RandMountImage(r *rand.Rand) []byte func RandSource ¶ func RandSource(t *testing.T) rand.Source func RandValue ¶ func RandValue(t *testing.T, typ any) any RandValue creates a random value of the same type as the argument typ. It recursively fills structs/slices/maps similar to testing/quick.Value, but it handles time.Time as well w/o panicing (unfortunately testing/quick panics on time.Time). Types ¶ type Writer ¶ type Writer struct { testing.TB } func (*Writer) Write ¶ func (w *Writer) Write(data []byte) (int, error) Source Files ¶ View all Source files norace.go testutil.go Click to show internal directories. Click to hide internal directories.