Documentation
¶
Overview ¶
Package require provides a set of tools for use with the Go testing package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal[T comparable](t *testing.T, actual, expected T)
Equal requires that the expected value is equal to the actual value. Actual and expected must be comparable.
func NotEqual ¶
func NotEqual[T comparable](t *testing.T, actual, expected T)
NotEqual requires that the expected value is not equal to the actual value. Actual and expected must be comparable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.