testcmp

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, msg string, a, b any, opts ...cmp.Option)

Equal compares two values and fails the test if they are not equal.

func EqualImages

func EqualImages[ID gallery.ID](t *testing.T, msg string, a, b gallery.Image[ID])

EqualImages compares two [gallery.Image]s and fails the test if they are not equal.

func Unequal added in v0.0.2

func Unequal(t *testing.T, msg string, a, b any, opts ...cmp.Option)

Unequal compares two values and fails the test if they are equal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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