Documentation
¶
Index ¶
- func AssertEqual(t *testing.T, want, have any)
- func AssertErr(t *testing.T, err error)
- func AssertInRange[T constraints.Ordered](t *testing.T, val, lower, upper T)
- func AssertNoErr(t *testing.T, err error)
- func Name(i int) string
- func RunIth(i int, t *testing.T, f func(t *testing.T))
- func RunTestsParallel[TEST any](tx *Tx, tests []TEST, runFnc func(tx *Tx, test TEST))
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func AssertInRange ¶
func AssertInRange[T constraints.Ordered](t *testing.T, val, lower, upper T)
func AssertNoErr ¶
func RunTestsParallel ¶
Types ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
func (*Tx) AssertEqual ¶
func (*Tx) AssertNoErr ¶
Click to show internal directories.
Click to hide internal directories.