testutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContains

func AssertContains[T any](t *testing.T, items []T, fn func(item T) bool)

func AssertDeepEquals

func AssertDeepEquals(t *testing.T, left, right any)

func AssertLength

func AssertLength[T any](t *testing.T, slice []T, expectedLength int)

func AssertNotContains

func AssertNotContains[T any](t *testing.T, items []T, fn func(item T) bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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