Documentation ¶
Index ¶
- func AssertArrayEqual[T comparable](t *testing.T, actual []T, expected []T)
- func AssertDeRefEqual[T comparable](t *testing.T, actual *T, expected T)
- func AssertDeepEqual[T any](t *testing.T, actual T, expected T)
- func AssertEqual[T comparable](t *testing.T, actual T, expected T)
- func AssertFalse(t *testing.T, value bool)
- func AssertHexEqual(t *testing.T, expected string, actual []byte)
- func AssertIdentEqual[T comparable](t *testing.T, ident string, actual T, expected T)
- func AssertIdentFalse(t *testing.T, ident string, value bool)
- func AssertIdentNotEqual[T comparable](t *testing.T, ident string, actual T, expected T)
- func AssertIdentPtrEqual[T comparable](t *testing.T, ident string, actual *T, expected *T)
- func AssertIdentTrue(t *testing.T, ident string, value bool)
- func AssertNoErr(t *testing.T, anerr error)
- func AssertNotDeepEqual[T any](t *testing.T, actual T, expected T)
- func AssertNotEqual[T comparable](t *testing.T, actual T, expected T)
- func AssertPtrEqual[T comparable](t *testing.T, actual *T, expected *T)
- func AssertSetDeepEqual[T any](t *testing.T, actual []T, expected []T)
- func AssertStrRepEqual(t *testing.T, actual any, expected any)
- func AssertStrRepNotEqual(t *testing.T, actual any, expected any)
- func AssertTrue(t *testing.T, value bool)
- func Must[T any](v T, anerr error) func(t *testing.T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertArrayEqual ¶ added in v0.0.295
func AssertArrayEqual[T comparable](t *testing.T, actual []T, expected []T)
func AssertDeRefEqual ¶
func AssertDeRefEqual[T comparable](t *testing.T, actual *T, expected T)
func AssertDeepEqual ¶ added in v0.0.266
func AssertEqual ¶
func AssertEqual[T comparable](t *testing.T, actual T, expected T)
func AssertFalse ¶
func AssertIdentEqual ¶
func AssertIdentEqual[T comparable](t *testing.T, ident string, actual T, expected T)
func AssertIdentNotEqual ¶
func AssertIdentNotEqual[T comparable](t *testing.T, ident string, actual T, expected T)
func AssertIdentPtrEqual ¶
func AssertIdentPtrEqual[T comparable](t *testing.T, ident string, actual *T, expected *T)
func AssertNoErr ¶ added in v0.0.171
func AssertNotDeepEqual ¶ added in v0.0.266
func AssertNotEqual ¶
func AssertNotEqual[T comparable](t *testing.T, actual T, expected T)
func AssertPtrEqual ¶
func AssertPtrEqual[T comparable](t *testing.T, actual *T, expected *T)
func AssertSetDeepEqual ¶ added in v0.0.269
func AssertStrRepEqual ¶ added in v0.0.383
func AssertStrRepNotEqual ¶ added in v0.0.383
func AssertTrue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.