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, A : Caps](gen: Gen[R, A])(implicit evidence$8: Caps[A], trace: Trace): URIO[R, TestResult]

Test that values of type A satisfy the laws using the specified generator.

Test that values of type A satisfy the laws using the specified generator.

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