testutil

package
v0.0.0-...-b92c3bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFullReaderAt

func CheckFullReaderAt(t *testing.T, tested, expected io.ReaderAt, size int64)

func CheckHoleReaderAt

func CheckHoleReaderAt(t *testing.T, tested HoleReaderAt, expected io.ReaderAt, size int64, maxReadSize int)

func CheckReaderAt

func CheckReaderAt(t *testing.T, tested, expected io.ReaderAt, size int64, maxReadSize int)

Types

type HoleReaderAt

type HoleReaderAt interface {
	io.ReaderAt
	NextData(off int64) (int64, error)
	NextHole(off int64) (int64, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL