testing

package
v1.0.152 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SequenceArrayErrorTest added in v1.0.146

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 added in v1.0.147

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