Documentation ¶
Index ¶
- func Assert(t *testing.T, x bool, m string)
- func AssertEq[T comparable](t *testing.T, x, y T)
- func AssertEqDump[T any](t *testing.T, actual, expected T)
- func AssertError(t *testing.T, err error)
- func AssertSlice[T comparable](t *testing.T, xs, ys []T)
- func Check(t *testing.T, err error)
- func CopyOf[T any](data []T) []T
- func DigitsToNum(ds []rune) (int, error)
- func JoinBy(f func() string, data ...string) string
- func Noicer(seed int64, from, to rune) func() string
- func Shuffler[T any](seed int64) func([]T) []T
- func Sorted[T constraints.Ordered](data ...T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEq ¶
func AssertEq[T comparable](t *testing.T, x, y T)
func AssertEqDump ¶
func AssertError ¶
func AssertSlice ¶
func AssertSlice[T comparable](t *testing.T, xs, ys []T)
func DigitsToNum ¶
func Sorted ¶
func Sorted[T constraints.Ordered](data ...T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.