package testing
import "github.com/IBM/fp-go/ioeither/testing"
Index ¶
Functions ¶
func AssertLaws ¶
func AssertLaws[E, A, B, C any](t *testing.T, eqe EQ.Eq[E], eqa EQ.Eq[A], eqb EQ.Eq[B], eqc EQ.Eq[C], ab func(A) B, bc func(B) C, ) func(a A) bool
AssertLaws asserts the apply monad laws for the `IOEither` monad
Source Files ¶
- Version
- v1.0.151 (latest)
- Published
- Nov 23, 2024
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 4 months ago –
Tools for package owners.