Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const Green + const Red + var Epsilon = 1e-10 + var ErrPlain = errors.New("error") + func Bytes(t *testing.T, got, wanted []byte, msgs ...interface{}) + func Error(t *testing.T, err error, msgs ...interface{}) + func Fail(t *testing.T, msgs ...interface{}) + func Float(t *testing.T, got, wanted float64, msgs ...interface{}) + func FloatDiff(t *testing.T, got, wanted, diff float64, msgs ...interface{}) + func Floats(t *testing.T, got, wanted []float64, msgs ...interface{}) + func Minify(t *testing.T, input string, err error, got, wanted string, msgs ...interface{}) + func String(t *testing.T, got, wanted string, msgs ...interface{}) + func T(t *testing.T, got, wanted interface{}, msgs ...interface{}) + func That(t *testing.T, condition bool, msgs ...interface{}) + type EmptyReader struct + func NewEmptyReader() *EmptyReader + func (r *EmptyReader) Read(b []byte) (n int, err error) + type ErrorReader struct + func NewErrorReader(n int) *ErrorReader + func (r *ErrorReader) Read(b []byte) (n int, err error) + type ErrorWriter struct + func NewErrorWriter(n int) *ErrorWriter + func (w *ErrorWriter) Write(b []byte) (n int, err error) + type InfiniteReader struct + func NewInfiniteReader() *InfiniteReader + func (r *InfiniteReader) Read(b []byte) (n int, err error) + type PlainReader struct + func NewPlainReader(r io.Reader) *PlainReader + func (r *PlainReader) Read(p []byte) (int, error)