assert

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t testing.TB, got, want any)

func Equal

func Equal[T comparable](t testing.TB, got, want T)

func EqualAll

func EqualAll[T comparable](t testing.TB, got, want []T)

func Error

func Error(t testing.TB, got, want error)

func ExitError

func ExitError(t testing.TB, got error, wantExitCode int)

func False

func False(t testing.TB, value bool)

func FloatEqual

func FloatEqual[T ~float32 | ~float64](t testing.TB, got, want, epsilon T)

func HasPrefix

func HasPrefix(t testing.TB, got, want string)

func Less

func Less[T cmp.Ordered](t testing.TB, less, more T)

func NotEqual

func NotEqual[T comparable](t testing.TB, got, want T)

func OK

func OK(t testing.TB, err error)

func True

func True(t testing.TB, value bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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