Law2

abstract class Law2[-CapsF[_[_]], -Caps[_]](label: String) extends Invariant[CapsF, Caps, Any]

Constructs a law from a pure function taking two parameters.

class Invariant[CapsF, Caps, Any]
class Object
trait Matchable
class Any
Law2[CapsF, Caps]

Value members

Abstract methods

def apply[F[_] : CapsF, A : Caps, B : Caps](fa: F[A], fb: F[B]): TestResult

Concrete methods

final def run[R <: TestConfig, F[_] : CapsF, A : Caps](genF: GenF[R, F], gen: Gen[R, A]): URIO[R, TestResult]

Inherited methods

def +[CapsF1 <: ([x[_]] =>> CapsF[x]), Caps1 <: (Caps), R1](that: Invariant[CapsF1, Caps1, R1]): Invariant[CapsF1, Caps1, 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:
Invariant