Law2

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

Constructs a law from a pure function taking two parameters.

class ZLaws[Caps, Any]
class Object
trait Matchable
class Any
Law2[Caps]

Value members

Abstract methods

def apply[A : Caps](a1: A, a2: A): TestResult

Concrete methods

final def run[R <: TestConfig, A : Caps](gen: Gen[R, A]): URIO[R, TestResult]

Inherited methods

def +[Caps1 <: (Caps), R1](that: ZLaws[Caps1, R1]): ZLaws[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:
ZLaws