GenPoly

zio.test.poly.GenPoly
See theGenPoly companion trait
object GenPoly

Attributes

Companion
trait
Source
GenPoly.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
GenPoly.type

Members list

Value members

Concrete methods

def apply[A](gen: Gen[Any, A]): GenPoly

Constructs an instance of TypeWith using the specified value, existentially hiding the underlying type.

Constructs an instance of TypeWith using the specified value, existentially hiding the underlying type.

Attributes

Source
GenPoly.scala
def boolean(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and a Ordering exist for booleans.

Provides evidence that instances of Gen and a Ordering exist for booleans.

Attributes

Source
GenPoly.scala
def byte(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for bytes.

Provides evidence that instances of Gen and Ordering exist for bytes.

Attributes

Source
GenPoly.scala
def char(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for characters.

Provides evidence that instances of Gen and Ordering exist for characters.

Attributes

Source
GenPoly.scala
def double(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for doubles.

Provides evidence that instances of Gen and Ordering exist for doubles.

Attributes

Source
GenPoly.scala
def float(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for floats.

Provides evidence that instances of Gen and Ordering exist for floats.

Attributes

Source
GenPoly.scala
def genPoly(implicit trace: Trace): Gen[Any, GenPoly]

Attributes

Source
GenPoly.scala
def int(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for integers.

Provides evidence that instances of Gen and Ordering exist for integers.

Attributes

Source
GenPoly.scala
def list(poly: GenPoly)(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen[List[T]] and Ordering[List[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Provides evidence that instances of Gen[List[T]] and Ordering[List[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Attributes

Source
GenPoly.scala
def long(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for longs.

Provides evidence that instances of Gen and Ordering exist for longs.

Attributes

Source
GenPoly.scala
def option(poly: GenPoly)(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen[Option[T]] and Ordering[Option[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Provides evidence that instances of Gen[Option[T]] and Ordering[Option[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Attributes

Source
GenPoly.scala
def short(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for shorts.

Provides evidence that instances of Gen and Ordering exist for shorts.

Attributes

Source
GenPoly.scala
def string(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for strings.

Provides evidence that instances of Gen and Ordering exist for strings.

Attributes

Source
GenPoly.scala
def unit(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for the unit value.

Provides evidence that instances of Gen and Ordering exist for the unit value.

Attributes

Source
GenPoly.scala
def vector(poly: GenPoly)(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen[Vector[T]] and Ordering[Vector[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Provides evidence that instances of Gen[Vector[T]] and Ordering[Vector[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Attributes

Source
GenPoly.scala