testutil

package
v0.0.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestMany

func TestMany(t *testing.T, tests []Tester)

Types

type ElementsMatch

type ElementsMatch struct{ Expected, Actual any }

func (ElementsMatch) Test

func (test ElementsMatch) Test(t *testing.T)

type Equal

type Equal struct{ Expected, Actual any }

func (Equal) Test

func (test Equal) Test(t *testing.T)

type Tester

type Tester interface {
	Test(t *testing.T)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL