assert

package
v0.0.0-...-a234980 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals[T comparable](expect T, actual T, t *testing.T)

func False

func False(actual bool, t *testing.T)

func HasError

func HasError(err error, t *testing.T)

func MapEmpty

func MapEmpty[K comparable, V any](actual map[K]V, t *testing.T)

func MapEquals

func MapEquals[K, V comparable](expect map[K]V, actual map[K]V, t *testing.T)

func MapNotEmpty

func MapNotEmpty[K comparable, V any](actual map[K]V, t *testing.T)

func MapNotEquals

func MapNotEquals[K, V comparable](expect map[K]V, actual map[K]V, t *testing.T)

func Nil

func Nil(actual any, t *testing.T)

func NoError

func NoError(err error, t *testing.T)

func NotEquals

func NotEquals[T comparable](expect T, actual T, t *testing.T)

func NotNil

func NotNil(actual any, t *testing.T)

func SliceEmpty

func SliceEmpty[T any](actual []T, t *testing.T)

func SliceEquals

func SliceEquals[T comparable](expect []T, actual []T, t *testing.T)

func SliceNotEmpty

func SliceNotEmpty[T any](actual []T, t *testing.T)

func SliceNotEquals

func SliceNotEquals[T comparable](expect []T, actual []T, t *testing.T)

func True

func True(actual bool, t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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