test

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertBytesEqual added in v0.0.3

func AssertBytesEqual[E, A bytesOrHex](t *testing.T, expected E, actual A, msgAndArgs ...any)

func MustParseHex added in v0.0.3

func MustParseHex(t *testing.T, hexString string) []byte

func ParseHex added in v0.0.3

func ParseHex(t *testing.T, hexString string) []byte

Types

type ByteTemplate

type ByteTemplate string

func (ByteTemplate) BadValue

func (bt ByteTemplate) BadValue(t *testing.T) byte

func (ByteTemplate) Max

func (bt ByteTemplate) Max(t *testing.T) byte

func (ByteTemplate) Min

func (bt ByteTemplate) Min(t *testing.T) byte

func (ByteTemplate) Random

func (bt ByteTemplate) Random(t *testing.T) byte

func (ByteTemplate) String

func (bt ByteTemplate) String() string

func (ByteTemplate) Validate

func (bt ByteTemplate) Validate(t *testing.T, b byte) bool

Jump to

Keyboard shortcuts

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