test

package
v0.0.0-...-2b23860 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodeDecodeTest

type EncodeDecodeTest[T any] struct {
	Name               string
	Values             []T
	EncodedLengthBytes int
	EncodeFun          func(*T, io.Writer) error
	DecodeFun          func(*T, io.Reader) error
	MarshalFun         func(*T, []byte) ([]byte, error)
	UnmarshalFun       func(*T, []byte) (int, error)
	ErrorOnEncode      error
	ErrorOnDecode      error
}

func (*EncodeDecodeTest[T]) Run

func (self *EncodeDecodeTest[T]) Run(t *testing.T)

type TestRunner

type TestRunner interface {
	Run(*testing.T)
}

type TestRunners

type TestRunners []TestRunner

func (TestRunners) Run

func (self TestRunners) Run(t *testing.T)

Directories

Path Synopsis
a
b
c

Jump to

Keyboard shortcuts

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