GenFractionalPoly

zio.test.poly.GenFractionalPoly$
See theGenFractionalPoly companion trait

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply[A](gen: Gen[Any, A], num: Fractional[A]): GenFractionalPoly

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

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

Attributes

def double(implicit trace: Trace): GenFractionalPoly

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

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

Attributes

def float(implicit trace: Trace): GenFractionalPoly

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

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

Attributes

def genFractionalPoly(implicit trace: Trace): Gen[Any, GenFractionalPoly]

A generator of polymorphic values constrainted to have a Fractional instance.

A generator of polymorphic values constrainted to have a Fractional instance.

Attributes