assert

package
v0.0.0-...-59c4410 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertElementsMatchFunc

func AssertElementsMatchFunc[N any](t *testing.T, expected []N, actual []N, equal func(a, b N) bool) bool

func AssertExternalIps

func AssertExternalIps(t *testing.T, enabled string, collectorIP string)

func AssertNoRuntimeConfig

func AssertNoRuntimeConfig(t *testing.T, collectorIP string)

func AssertRepeated

func AssertRepeated(t *testing.T, tickTime time.Duration, timeout time.Duration, msg string, condition func() bool)

func ElementsMatchFunc

func ElementsMatchFunc[N any](expected []N, actual []N, equal func(a, b N) bool) bool

func ListsToAssertMsg

func ListsToAssertMsg[N any](expected []N, actual []N) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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