Law1

abstract class Law1[-CapsBothF[_[_, _]], -CapsLeft[_], -CapsRight[_]](label: String) extends Divariant[CapsBothF, CapsLeft, CapsRight, Any]

Constructs a law from a pure function taking a single parameter.

class Divariant[CapsBothF, CapsLeft, CapsRight, Any]
class Object
trait Matchable
class Any
Law1[CapsBothF, CapsLeft, CapsRight]

Value members

Abstract methods

def apply[F[_, _] : CapsBothF, A : CapsLeft, B : CapsRight](fa: F[A, B]): TestResult

Concrete methods

final def run[R <: TestConfig, F[_, _] : CapsBothF, A : CapsLeft, B : CapsRight](genF: GenF2[R, F], gen: Gen[R, B]): URIO[R, TestResult]

Inherited methods

def +[CapsF1 <: ([x[_, _]] =>> CapsBothF[x]), CapsLeft1 <: (CapsLeft), CapsRight1 <: (CapsRight), R1](that: Divariant[CapsF1, CapsLeft1, CapsRight1, R1]): Divariant[CapsF1, CapsLeft1, CapsRight1, R1]

Combine these laws with the specified laws to produce a set of laws that require both sets of laws to be satisfied.

Combine these laws with the specified laws to produce a set of laws that require both sets of laws to be satisfied.

Inherited from:
Divariant