Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayEquals ¶
func ArrayEquals[T constraints.Ordered](t *testing.T, expected, actual []T)
ArrayEquals tests whether two slices are equal as determined by their having identical lengths and, once sorted, identical elements at each index.
func Equals ¶
func Equals[T comparable](t *testing.T, expected, actual T)
Equals tests whether two comparable values are equal.
func MapEquals ¶
func MapEquals[M ~map[K]V, K, V comparable](t *testing.T, expected, actual M)
MapEquals tests whether two maps of comparable types are equal as determined by their having equal lengths, identical key sets, and identical values for each key in those sets.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.