GenOrderingPoly

zio.test.poly.GenOrderingPoly
See theGenOrderingPoly companion trait

Attributes

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

Members list

Value members

Concrete methods

def apply[A](gen: Gen[Any, A], ord: Ordering[A]): GenOrderingPoly

Constructs an instance of GenOrderingPoly using the specified Gen and Ordering instances, existentially hiding the underlying type.

Constructs an instance of GenOrderingPoly using the specified Gen and Ordering instances, existentially hiding the underlying type.

Attributes

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

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
GenOrderingPoly.scala
def byte(implicit trace: Trace): GenOrderingPoly

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Source
GenOrderingPoly.scala
def genOrderingPoly(implicit trace: Trace): Gen[Any, GenOrderingPoly]

Attributes

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

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

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

Attributes

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

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
GenOrderingPoly.scala
def long(implicit trace: Trace): GenOrderingPoly

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

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

Attributes

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

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
GenOrderingPoly.scala
def short(implicit trace: Trace): GenOrderingPoly

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

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

Attributes

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

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

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

Attributes

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

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
GenOrderingPoly.scala
def vector(poly: GenOrderingPoly)(implicit trace: Trace): GenOrderingPoly

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
GenOrderingPoly.scala