Documentation
¶
Index ¶
- func Average(s []int) float32
- func CheckContains[T comparable](t testing.TB, got []T, want T)
- func CheckEquals[T comparable](t testing.TB, got, want T)
- func CheckNotNil[T comparable](t testing.TB, got T)
- func CheckType[T any](t testing.TB, got T, want string)
- func Contains[T comparable](s []T, e T) bool
- func Histogram(s []int, max int) []int
- func MaxSlicei(s []float64) int
- func RemoveFromSlice(s []int, i int) []int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckContains ¶
func CheckContains[T comparable](t testing.TB, got []T, want T)
func CheckEquals ¶
func CheckEquals[T comparable](t testing.TB, got, want T)
func CheckNotNil ¶
func CheckNotNil[T comparable](t testing.TB, got T)
func Contains ¶
func Contains[T comparable](s []T, e T) bool
func RemoveFromSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.