Documentation ¶
Overview ¶
Package assert
Index ¶
- func Equal[T any](t *testing.T, expected, actual T) bool
- func False[T ~bool](t *testing.T, i T) bool
- func Greater[T constraints.Integer](t *testing.T, expected, actual T) bool
- func Less[T constraints.Integer](t *testing.T, expected, actual T) bool
- func Nil(t *testing.T, i any) bool
- func NotEqual[T any](t *testing.T, expected, actual T) bool
- func NotNil(t *testing.T, i any) bool
- func NotPanic(t *testing.T, f func()) bool
- func NotZero(t *testing.T, i any) bool
- func Panic(t *testing.T, f func()) bool
- func True[T ~bool](t *testing.T, i T) bool
- func Zero(t *testing.T, i any) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.