Documentation
¶
Index ¶
- func Assert(t *testing.T, val bool, message string)
- func AssertEquals[T comparable](t *testing.T, first T, second T)
- func AssertEqualsDeep(t *testing.T, first any, second any)
- func AssertEqualsDeepMsg(t *testing.T, first any, second any, message string)
- func AssertEqualsMsg[T comparable](t *testing.T, first T, second T, message string)
- func AssertNotEquals[T comparable](t *testing.T, first T, second T)
- func AssertNotEqualsDeep(t *testing.T, first any, second any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEquals ¶
func AssertEquals[T comparable](t *testing.T, first T, second T)
AssertEquals compares comparable types
func AssertEqualsDeep ¶
AssertEqualsDeep is AssertEquals with reflect
func AssertEqualsDeepMsg ¶
AssertEqualsDeepMsg is the error message variant of AssertEqualsDeep
func AssertEqualsMsg ¶
func AssertEqualsMsg[T comparable](t *testing.T, first T, second T, message string)
AssertEqualsMsg is the error message variant of AssertEquals
func AssertNotEquals ¶ added in v0.1.3
func AssertNotEquals[T comparable](t *testing.T, first T, second T)
AssertNotEqual makes sure inputs arent equal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.