test

package
v0.0.0-...-96f1409 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrNil

func ErrNil(t *testing.T, err error, ctx string)

ErrNil asserts that the err is nil and fails otherwise.

func MustBe

func MustBe(t *testing.T, thing1, thing2 interface{}, context ...string)

MustBe uses reflect.DeepEqual to assert that thing1 and thing2 are equal, and fails otherwise.

Types

type Uint64Slice

type Uint64Slice []uint64

Uint64Slice implements the sorting interface on []uint64.

func (Uint64Slice) Len

func (p Uint64Slice) Len() int

func (Uint64Slice) Less

func (p Uint64Slice) Less(i, j int) bool

func (Uint64Slice) Swap

func (p Uint64Slice) Swap(i, j int)

Jump to

Keyboard shortcuts

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