package testing
import "github.com/IBM/fp-go/internal/testing"
Index ¶
- 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)
- 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)
- 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)
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
Source Files ¶
- Version
- v1.0.151 (latest)
- Published
- Nov 23, 2024
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 5 months ago –
Tools for package owners.