Object/Class

zio.test

Gen

Related Docs: class Gen | package test

Permalink

object Gen extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gen
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def const[A](a: ⇒ A): Gen[Any, A]

    Permalink

    A constant generator of the specified value.

  7. final def constSample[R, A](sample: ⇒ Sample[R, A]): Gen[R, A]

    Permalink

    A constant generator of the specified sample.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def fromEffect[R, A](effect: ZIO[R, Nothing, A]): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a value.

  12. final def fromEffectSample[R, A](effect: ZIO[R, Nothing, Sample[R, A]]): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a sample.

  13. final def fromIterable[R, A](as: Iterable[A], shrinker: (A) ⇒ ZStream[R, Nothing, A] = (_: A) => ZStream.empty): Gen[R, A]

    Permalink

    Constructs a deterministic generator that only generates the specified fixed values.

  14. final def fromRandom[A](f: (Service[Any]) ⇒ UIO[A]): Gen[Random, A]

    Permalink

    Constructs a generator from a function that uses randomness.

    Constructs a generator from a function that uses randomness. The returned generator will not have any shrinking.

  15. final def fromRandomSample[R <: Random, A](f: (Service[Any]) ⇒ UIO[Sample[R, A]]): Gen[R, A]

    Permalink

    Constructs a generator from a function that uses randomness to produce a sample.

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def integral[A](range: Range)(implicit I: Integral[A]): Gen[Random, A]

    Permalink

    A generator of integral values inside the specified range: [start, end).

    A generator of integral values inside the specified range: [start, end). The shrinker will shrink toward the lower end of the range ("smallest").

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def sized[R <: Random, A](min: Int, max: Int)(f: (Int) ⇒ Gen[R, A]): Gen[R, A]

    Permalink

    A sized generator, whose size falls within the specified bounds.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def uniform: Gen[Random, Double]

    Permalink

    A generator of uniformly distributed doubles between [0, 1].

    A generator of uniformly distributed doubles between [0, 1].

    TODO: Make Shrinker go toward 0

  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped