tests

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertBytesEqual

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

func MustParseHex

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

func ParseHex

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