zio.test.laws.ZLawsF.Contravariant.Law1
abstract class Law1[-CapsF[_[_]], -Caps[_]](label: String) extends Contravariant[CapsF, Caps, Any]
Constructs a law from a pure function taking a single parameter.
Attributes
-
Graph
-
-
Supertypes
-
trait Matchable
class Any
-
Self type
-
Members list
Test that values of type F[+_]
satisfy the laws using the specified function to construct a generator of F[A]
values given a generator of A
values.
Test that values of type F[+_]
satisfy the laws using the specified function to construct a generator of F[A]
values given a generator of A
values.
Attributes
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.
Attributes
-
Inherited from:
-
Contravariant