Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v2.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SequenceArrayErrorTest

func SequenceArrayErrorTest[
	HKTA,
	HKTB,
	HKTAA any,
](
	eq EQ.Eq[HKTB],

	left func(error) HKTA,
	leftB func(error) HKTB,
	pa pointed.Pointed[string, HKTA],
	pb pointed.Pointed[bool, HKTB],
	faa functor.Functor[[]string, bool, HKTAA, HKTB],
	seq func([]HKTA) HKTAA,
) func(count int) func(t *testing.T)

SequenceArrayErrorTest tests if the sequence operation works in case the operation can error

func SequenceArrayTest

func SequenceArrayTest[
	HKTA,
	HKTB,
	HKTAA any,
](
	eq EQ.Eq[HKTB],

	pa pointed.Pointed[string, HKTA],
	pb pointed.Pointed[bool, HKTB],
	faa functor.Functor[[]string, bool, HKTAA, HKTB],
	seq func([]HKTA) HKTAA,
) func(count int) func(t *testing.T)

SequenceArrayTest tests if the sequence operation works in case the operation cannot error

func SequenceRecordTest

func SequenceRecordTest[
	HKTA,
	HKTB,
	HKTAA any,
](
	eq EQ.Eq[HKTB],

	pa pointed.Pointed[string, HKTA],
	pb pointed.Pointed[bool, HKTB],
	faa functor.Functor[map[string]string, bool, HKTAA, HKTB],
	seq func(map[string]HKTA) HKTAA,
) func(count int) func(t *testing.T)

SequenceRecordTest tests if the sequence operation works in case the operation cannot error

Types

This section is empty.

Jump to

Keyboard shortcuts

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