Object/Class

zio.test

Gen

Related Docs: class Gen | package test

Permalink

object Gen extends GenZIO with FunctionVariants with TimeVariants with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gen
  2. Serializable
  3. Serializable
  4. TimeVariants
  5. FunctionVariants
  6. GenZIO
  7. AnyRef
  8. 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. def alphaChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of alpha characters.

  5. def alphaNumericChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of alphanumeric characters.

    A generator of alphanumeric characters. Shrinks toward '0'.

  6. def alphaNumericString(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator of alphanumeric strings.

    A generator of alphanumeric strings. Shrinks towards the empty string.

  7. def alphaNumericStringBounded(min: Int, max: Int)(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator of alphanumeric strings whose size falls within the specified bounds.

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def asciiChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of US-ASCII characters.

    A generator of US-ASCII characters. Shrinks toward '0'.

  10. def asciiString(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator US-ASCII strings.

    A generator US-ASCII strings. Shrinks towards the empty string.

  11. def bigDecimal(min: BigDecimal, max: BigDecimal)(implicit trace: ZTraceElement): Gen[Random, BigDecimal]

    Permalink

    A generator of big decimals inside the specified range: [start, end].

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

    The values generated will have a precision equal to the precision of the difference between max and min.

  12. def bigInt(min: BigInt, max: BigInt)(implicit trace: ZTraceElement): Gen[Random, BigInt]

    Permalink

    A generator of big integers inside the specified range: [start, end].

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

  13. def boolean(implicit trace: ZTraceElement): Gen[Random, Boolean]

    Permalink

    A generator of booleans.

    A generator of booleans. Shrinks toward 'false'.

  14. def bounded[R <: Random, A](min: Int, max: Int)(f: (Int) ⇒ Gen[R, A])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    A generator whose size falls within the specified bounds.

  15. def byte(min: Byte, max: Byte)(implicit trace: ZTraceElement): Gen[Random, Byte]

    Permalink

    A generator of byte values inside the specified range: [start, end].

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

  16. def byte(implicit trace: ZTraceElement): Gen[Random, Byte]

    Permalink

    A generator of bytes.

    A generator of bytes. Shrinks toward '0'.

  17. final def causes[R <: Random with Sized, E](e: Gen[R, E], t: Gen[R, Throwable])(implicit trace: ZTraceElement): Gen[R, Cause[E]]

    Permalink

    A generator of Cause values

    A generator of Cause values

    Definition Classes
    GenZIO
  18. final def chained[R <: Random with Sized, Env, E, A](gen: Gen[R, ZIO[Env, E, A]])(implicit trace: ZTraceElement): Gen[R, ZIO[Env, E, A]]

    Permalink

    A generator of effects that are the result of chaining the specified effect with itself a random number of times.

    A generator of effects that are the result of chaining the specified effect with itself a random number of times.

    Definition Classes
    GenZIO
  19. final def chainedN[R <: Random, Env, E, A](n: Int)(zio: Gen[R, ZIO[Env, E, A]])(implicit trace: ZTraceElement): Gen[R, ZIO[Env, E, A]]

    Permalink

    A generator of effects that are the result of chaining the specified effect with itself a given number of times.

    A generator of effects that are the result of chaining the specified effect with itself a given number of times.

    Definition Classes
    GenZIO
  20. def char(min: Char, max: Char)(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of character values inside the specified range: [start, end].

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

  21. def char(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of characters.

    A generator of characters. Shrinks toward '0'.

  22. def chunkOf[R <: Random with Sized, A](g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Chunk[A]]

    Permalink

    A sized generator of chunks.

  23. def chunkOf1[R <: Random with Sized, A](g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, NonEmptyChunk[A]]

    Permalink

    A sized generator of non-empty chunks.

  24. def chunkOfBounded[R <: Random, A](min: Int, max: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Chunk[A]]

    Permalink

    A generator of chunks whose size falls within the specified bounds.

  25. def chunkOfN[R <: Random, A](n: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Chunk[A]]

    Permalink

    A generator of chunks of the specified size.

  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def collectAll[R, A](gens: Iterable[Gen[R, A]])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink

    Composes the specified generators to create a cartesian product of elements with the specified function.

  28. def concatAll[R, A](gens: ⇒ Iterable[Gen[R, A]])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    Combines the specified deterministic generators to return a new deterministic generator that generates all of the values generated by the specified generators.

  29. final def concurrent[R, E, A](zio: ZIO[R, E, A])(implicit trace: ZTraceElement): Gen[Any, ZIO[R, E, A]]

    Permalink

    A generator of effects that are the result of applying concurrency combinators to the specified effect that are guaranteed not to change its value.

    A generator of effects that are the result of applying concurrency combinators to the specified effect that are guaranteed not to change its value.

    Definition Classes
    GenZIO
  30. def const[A](a: ⇒ A)(implicit trace: ZTraceElement): Gen[Any, A]

    Permalink

    A constant generator of the specified value.

  31. def constSample[R, A](sample: ⇒ Sample[R, A])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    A constant generator of the specified sample.

  32. final def dayOfWeek(implicit trace: ZTraceElement): Gen[Random, DayOfWeek]

    Permalink

    A generator of java.time.DayOfWeek values.

    A generator of java.time.DayOfWeek values. Shrinks toward DayOfWeek.MONDAY.

    Definition Classes
    TimeVariants
  33. final def died[R](gen: Gen[R, Throwable])(implicit trace: ZTraceElement): Gen[R, UIO[Nothing]]

    Permalink

    A generator of effects that have died with a Throwable.

    A generator of effects that have died with a Throwable.

    Definition Classes
    GenZIO
  34. def double(min: Double, max: Double)(implicit trace: ZTraceElement): Gen[Random, Double]

    Permalink

    A generator of double values inside the specified range: [start, end].

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

  35. def double(implicit trace: ZTraceElement): Gen[Random, Double]

    Permalink

    A generator of doubles.

    A generator of doubles. Shrinks toward '0'.

  36. def either[R <: Random, A, B](left: Gen[R, A], right: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, Either[A, B]]

    Permalink
  37. def elements[A](as: A*)(implicit trace: ZTraceElement): Gen[Random, A]

    Permalink
  38. def empty(implicit trace: ZTraceElement): Gen[Any, Nothing]

    Permalink
  39. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. def exponential(implicit trace: ZTraceElement): Gen[Random, Double]

    Permalink

    A generator of exponentially distributed doubles with mean 1.

    A generator of exponentially distributed doubles with mean 1. The shrinker will shrink toward 0.

  42. final def failures[R, E](gen: Gen[R, E])(implicit trace: ZTraceElement): Gen[R, IO[E, Nothing]]

    Permalink

    A generator of effects that have failed with an error.

    A generator of effects that have failed with an error.

    Definition Classes
    GenZIO
  43. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. final def finiteDuration(min: zio.Duration, max: zio.Duration)(implicit trace: ZTraceElement): Gen[Random, zio.Duration]

    Permalink

    A generator of finite zio.duration.Duration values inside the specified range: [min, max].

    A generator of finite zio.duration.Duration values inside the specified range: [min, max]. Shrinks toward min.

    Definition Classes
    TimeVariants
  45. final def finiteDuration(implicit trace: ZTraceElement): Gen[Random, zio.Duration]

    Permalink

    A generator of finite zio.duration.Duration values.

    A generator of finite zio.duration.Duration values. Shrinks toward Duration.Zero.

    Definition Classes
    TimeVariants
  46. def float(implicit trace: ZTraceElement): Gen[Random, Float]

    Permalink

    A generator of floats.

    A generator of floats. Shrinks toward '0'.

  47. def fromIterable[R, A](as: Iterable[A], shrinker: (A) ⇒ ZStream[R, Nothing, A] = defaultShrinker)(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

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

  48. final def fromRandom[A](f: (Random) ⇒ UIO[A])(implicit trace: ZTraceElement): 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.

  49. final def fromRandomSample[R <: Random, A](f: (Random) ⇒ UIO[Sample[R, A]])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

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

  50. def fromZIO[R, A](effect: URIO[R, A])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a value.

  51. def fromZIOSample[R, A](effect: ZIO[R, Nothing, Sample[R, A]])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a sample.

  52. final def function[R, A, B](gen: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, (A) ⇒ B]

    Permalink

    Constructs a generator of functions from A to B given a generator of B values.

    Constructs a generator of functions from A to B given a generator of B values. Two A values will be considered to be equal, and thus will be guaranteed to generate the same B value, if they have the same hashCode.

    Definition Classes
    FunctionVariants
  53. final def function2[R, A, B, C](gen: Gen[R, C])(implicit trace: ZTraceElement): Gen[R, (A, B) ⇒ C]

    Permalink

    A version of function that generates functions that accept two parameters.

    A version of function that generates functions that accept two parameters.

    Definition Classes
    FunctionVariants
  54. final def function3[R, A, B, C, D](gen: Gen[R, D])(implicit trace: ZTraceElement): Gen[R, (A, B, C) ⇒ D]

    Permalink

    A version of function that generates functions that accept three parameters.

    A version of function that generates functions that accept three parameters.

    Definition Classes
    FunctionVariants
  55. final def function4[R, A, B, C, D, E](gen: Gen[R, E])(implicit trace: ZTraceElement): Gen[R, (A, B, C, D) ⇒ E]

    Permalink

    A version of function that generates functions that accept four parameters.

    A version of function that generates functions that accept four parameters.

    Definition Classes
    FunctionVariants
  56. final def functionWith[R, A, B](gen: Gen[R, B])(hash: (A) ⇒ Int)(implicit trace: ZTraceElement): Gen[R, (A) ⇒ B]

    Permalink

    Constructs a generator of functions from A to B given a generator of B values and a hashing function for A values.

    Constructs a generator of functions from A to B given a generator of B values and a hashing function for A values. Two A values will be considered to be equal, and thus will be guaranteed to generate the same B value, if they have have the same hash. This is useful when A does not implement hashCode in a way that is consistent with equality.

    Definition Classes
    FunctionVariants
  57. final def functionWith2[R, A, B, C](gen: Gen[R, C])(hash: (A, B) ⇒ Int)(implicit trace: ZTraceElement): Gen[R, (A, B) ⇒ C]

    Permalink

    A version of functionWith that generates functions that accept two parameters.

    A version of functionWith that generates functions that accept two parameters.

    Definition Classes
    FunctionVariants
  58. final def functionWith3[R, A, B, C, D](gen: Gen[R, D])(hash: (A, B, C) ⇒ Int)(implicit trace: ZTraceElement): Gen[R, (A, B, C) ⇒ D]

    Permalink

    A version of functionWith that generates functions that accept three parameters.

    A version of functionWith that generates functions that accept three parameters.

    Definition Classes
    FunctionVariants
  59. final def functionWith4[R, A, B, C, D, E](gen: Gen[R, E])(hash: (A, B, C, D) ⇒ Int)(implicit trace: ZTraceElement): Gen[R, (A, B, C, D) ⇒ E]

    Permalink

    A version of functionWith that generates functions that accept four parameters.

    A version of functionWith that generates functions that accept four parameters.

    Definition Classes
    FunctionVariants
  60. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  62. def hexChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of hex chars(0-9,a-f,A-F).

  63. def hexCharLower(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of lower hex chars(0-9, a-f).

  64. def hexCharUpper(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of upper hex chars(0-9, A-F).

  65. final def instant(min: Instant, max: Instant)(implicit trace: ZTraceElement): Gen[Random, Instant]

    Permalink

    A generator of java.time.Instant values inside the specified range: [min, max].

    A generator of java.time.Instant values inside the specified range: [min, max]. Shrinks toward min.

    Definition Classes
    TimeVariants
  66. final def instant(implicit trace: ZTraceElement): Gen[Random, Instant]

    Permalink

    A generator of java.time.Instant values.

    A generator of java.time.Instant values. Shrinks toward Instant.MIN.

    Definition Classes
    TimeVariants
  67. def int(min: Int, max: Int)(implicit trace: ZTraceElement): Gen[Random, Int]

    Permalink

    A generator of integers inside the specified range: [start, end].

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

  68. def int(implicit trace: ZTraceElement): Gen[Random, Int]

    Permalink

    A generator of integers.

    A generator of integers. Shrinks toward '0'.

  69. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  70. def iso_8859_1(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator of strings that can be encoded in the ISO-8859-1 character set.

  71. def large[R <: Random with Sized, A](f: (Int) ⇒ Gen[R, A], min: Int = 0)(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    A sized generator that uses a uniform distribution of size values.

    A sized generator that uses a uniform distribution of size values. A large number of larger sizes will be generated.

  72. def listOf[R <: Random with Sized, A](g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink
  73. def listOf1[R <: Random with Sized, A](g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, ::[A]]

    Permalink
  74. def listOfBounded[R <: Random, A](min: Int, max: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink

    A generator of lists whose size falls within the specified bounds.

  75. def listOfN[R <: Random, A](n: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink
  76. final def localDate(implicit trace: ZTraceElement): Gen[Random, LocalDate]

    Permalink

    A generator of java.time.LocalDate values.

    A generator of java.time.LocalDate values. Shrinks toward LocalDate.MIN.

    Definition Classes
    TimeVariants
  77. final def localDateTime(min: LocalDateTime, max: LocalDateTime)(implicit trace: ZTraceElement): Gen[Random, LocalDateTime]

    Permalink

    A generator of java.time.LocalDateTime values inside the specified range: [min, max].

    A generator of java.time.LocalDateTime values inside the specified range: [min, max]. Shrinks toward min.

    Definition Classes
    TimeVariants
  78. final def localDateTime(implicit trace: ZTraceElement): Gen[Random, LocalDateTime]

    Permalink

    A generator of java.time.LocalDateTime values.

    A generator of java.time.LocalDateTime values. Shrinks toward LocalDateTime.MIN.

    Definition Classes
    TimeVariants
  79. final def localTime(implicit trace: ZTraceElement): Gen[Random, LocalTime]

    Permalink

    A generator of java.time.LocalTime values.

    A generator of java.time.LocalTime values. Shrinks toward LocalTime.MIN.

    Definition Classes
    TimeVariants
  80. def long(min: Long, max: Long)(implicit trace: ZTraceElement): Gen[Random, Long]

    Permalink

    A generator of long values in the specified range: [start, end].

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

  81. def long(implicit trace: ZTraceElement): Gen[Random, Long]

    Permalink

    A generator of longs.

    A generator of longs. Shrinks toward '0'.

  82. def mapOf[R <: Random with Sized, A, B](key: Gen[R, A], value: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, Map[A, B]]

    Permalink

    A sized generator of maps.

  83. def mapOf1[R <: Random with Sized, A, B](key: Gen[R, A], value: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, Map[A, B]]

    Permalink

    A sized generator of non-empty maps.

  84. def mapOfBounded[R <: Random, A, B](min: Int, max: Int)(key: Gen[R, A], value: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, Map[A, B]]

    Permalink

    A generator of maps whose size falls within the specified bounds.

  85. def mapOfN[R <: Random, A, B](n: Int)(key: Gen[R, A], value: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, Map[A, B]]

    Permalink

    A generator of maps of the specified size.

  86. def medium[R <: Random with Sized, A](f: (Int) ⇒ Gen[R, A], min: Int = 0)(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    A sized generator that uses an exponential distribution of size values.

    A sized generator that uses an exponential distribution of size values. The majority of sizes will be towards the lower end of the range but some larger sizes will be generated as well.

  87. final def month(implicit trace: ZTraceElement): Gen[Random, Month]

    Permalink

    A generator of java.time.Month values.

    A generator of java.time.Month values. Shrinks toward Month.JANUARY.

    Definition Classes
    TimeVariants
  88. final def monthDay(implicit trace: ZTraceElement): Gen[Random, MonthDay]

    Permalink

    A generator of java.time.MonthDay values.

    A generator of java.time.MonthDay values. Shrinks toward MonthDay.of(Month.JANUARY, 1).

    Definition Classes
    TimeVariants
  89. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  90. def none(implicit trace: ZTraceElement): Gen[Any, Option[Nothing]]

    Permalink

    A constant generator of the empty value.

  91. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  93. def numericChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of numeric characters.

    A generator of numeric characters. Shrinks toward '0'.

  94. final def offsetDateTime(min: OffsetDateTime, max: OffsetDateTime)(implicit trace: ZTraceElement): Gen[Random, OffsetDateTime]

    Permalink

    A generator of java.time.OffsetDateTime values inside the specified range: [min, max].

    A generator of java.time.OffsetDateTime values inside the specified range: [min, max]. Shrinks toward min.

    Definition Classes
    TimeVariants
  95. final def offsetDateTime(implicit trace: ZTraceElement): Gen[Random, OffsetDateTime]

    Permalink

    A generator of java.time.OffsetDateTime values.

    A generator of java.time.OffsetDateTime values. Shrinks toward OffsetDateTime.MIN.

    Definition Classes
    TimeVariants
  96. final def offsetTime(implicit trace: ZTraceElement): Gen[Random, OffsetTime]

    Permalink

    A generator of java.time.OffsetTime values.

    A generator of java.time.OffsetTime values. Shrinks torward OffsetTime.MIN.

    Definition Classes
    TimeVariants
  97. def oneOf[R <: Random, A](as: Gen[R, A]*)(implicit trace: ZTraceElement): Gen[R, A]

    Permalink
  98. def option[R <: Random, A](gen: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Option[A]]

    Permalink

    A generator of optional values.

    A generator of optional values. Shrinks toward None.

  99. final def parallel[R, E, A](zio: ZIO[R, E, A])(implicit trace: ZTraceElement): Gen[Any, ZIO[R, E, A]]

    Permalink

    A generator of effects that are the result of applying parallelism combinators to the specified effect that are guaranteed not to change its value.

    A generator of effects that are the result of applying parallelism combinators to the specified effect that are guaranteed not to change its value.

    Definition Classes
    GenZIO
  100. def partialFunction[R <: Random, A, B](gen: Gen[R, B])(implicit trace: ZTraceElement): Gen[R, PartialFunction[A, B]]

    Permalink

    Constructs a generator of partial functions from A to B given a generator of B values.

    Constructs a generator of partial functions from A to B given a generator of B values. Two A values will be considered to be equal, and thus will be guaranteed to generate the same B value or both be outside the partial function's domain, if they have the same hashCode.

  101. def partialFunctionWith[R <: Random, A, B](gen: Gen[R, B])(hash: (A) ⇒ Int)(implicit trace: ZTraceElement): Gen[R, PartialFunction[A, B]]

    Permalink

    Constructs a generator of partial functions from A to B given a generator of B values and a hashing function for A values.

    Constructs a generator of partial functions from A to B given a generator of B values and a hashing function for A values. Two A values will be considered to be equal, and thus will be guaranteed to generate the same B value or both be outside the partial function's domain, if they have have the same hash. This is useful when A does not implement hashCode in a way that is consistent with equality.

  102. final def period(implicit trace: ZTraceElement): Gen[Random, Period]

    Permalink

    A generator of java.time.Period values.

    A generator of java.time.Period values. Shrinks toward Period.ZERO.

    Definition Classes
    TimeVariants
  103. def printableChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of printable characters.

    A generator of printable characters. Shrinks toward '!'.

  104. def setOf[R <: Random with Sized, A](gen: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Set[A]]

    Permalink

    A sized generator of sets.

  105. def setOf1[R <: Random with Sized, A](gen: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Set[A]]

    Permalink

    A sized generator of non-empty sets.

  106. def setOfBounded[R <: Random, A](min: Int, max: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Set[A]]

    Permalink

    A generator of sets whose size falls within the specified bounds.

  107. def setOfN[R <: Random, A](n: Int)(gen: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Set[A]]

    Permalink

    A generator of sets of the specified size.

  108. def short(min: Short, max: Short)(implicit trace: ZTraceElement): Gen[Random, Short]

    Permalink

    A generator of short values inside the specified range: [start, end].

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

  109. def short(implicit trace: ZTraceElement): Gen[Random, Short]

    Permalink

    A generator of shorts.

    A generator of shorts. Shrinks toward '0'.

  110. def size(implicit trace: ZTraceElement): Gen[Sized, Int]

    Permalink
  111. def sized[R <: Sized, A](f: (Int) ⇒ Gen[R, A])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

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

  112. def small[R <: Random with Sized, A](f: (Int) ⇒ Gen[R, A], min: Int = 0)(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    A sized generator that uses an exponential distribution of size values.

    A sized generator that uses an exponential distribution of size values. The values generated will be strongly concentrated towards the lower end of the range but a few larger values will still be generated.

  113. def some[R, A](gen: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Option[A]]

    Permalink
  114. def string[R <: Random with Sized](char: Gen[R, Char])(implicit trace: ZTraceElement): Gen[R, String]

    Permalink
  115. def string(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator of strings.

    A generator of strings. Shrinks towards the empty string.

  116. def string1[R <: Random with Sized](char: Gen[R, Char])(implicit trace: ZTraceElement): Gen[R, String]

    Permalink
  117. def stringBounded[R <: Random](min: Int, max: Int)(g: Gen[R, Char])(implicit trace: ZTraceElement): Gen[R, String]

    Permalink

    A generator of strings whose size falls within the specified bounds.

  118. def stringN[R <: Random](n: Int)(char: Gen[R, Char])(implicit trace: ZTraceElement): Gen[R, String]

    Permalink
  119. final def successes[R, A](gen: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, UIO[A]]

    Permalink

    A generator of successful effects.

    A generator of successful effects.

    Definition Classes
    GenZIO
  120. def suspend[R, A](gen: ⇒ Gen[R, A])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    Lazily constructs a generator.

    Lazily constructs a generator. This is useful to avoid infinite recursion when creating generators that refer to themselves.

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

    Permalink
    Definition Classes
    AnyRef
  122. def throwable(implicit trace: ZTraceElement): Gen[Random, Throwable]

    Permalink

    A generator of throwables.

  123. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  124. def unfoldGen[R <: Random with Sized, S, A](s: S)(f: (S) ⇒ Gen[R, (S, A)])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink

    A sized generator of collections, where each collection is generated by repeatedly applying a function to an initial state.

  125. def unfoldGenN[R, S, A](n: Int)(s: S)(f: (S) ⇒ Gen[R, (S, A)])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink

    A generator of collections of up to the specified size, where each collection is generated by repeatedly applying a function to an initial state.

  126. def unicodeChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of Unicode characters.

    A generator of Unicode characters. Shrinks toward '0'.

  127. def uniform(implicit trace: ZTraceElement): Gen[Random, Double]

    Permalink

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

    A generator of uniformly distributed doubles between [0, 1]. The shrinker will shrink toward 0.

  128. def unit(implicit trace: ZTraceElement): Gen[Any, Unit]

    Permalink

    A constant generator of the unit value.

  129. def uuid(implicit trace: ZTraceElement): Gen[Random, UUID]

    Permalink

    A generator of universally unique identifiers.

    A generator of universally unique identifiers. The returned generator will not have any shrinking.

  130. def vectorOf[R <: Random with Sized, A](g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Vector[A]]

    Permalink
  131. def vectorOf1[R <: Random with Sized, A](g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Vector[A]]

    Permalink
  132. def vectorOfBounded[R <: Random, A](min: Int, max: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Vector[A]]

    Permalink

    A generator of vectors whose size falls within the specified bounds.

  133. def vectorOfN[R <: Random, A](n: Int)(g: Gen[R, A])(implicit trace: ZTraceElement): Gen[R, Vector[A]]

    Permalink
  134. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  137. def weighted[R <: Random, A](gs: (Gen[R, A], Double)*)(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    A generator which chooses one of the given generators according to their weights.

    A generator which chooses one of the given generators according to their weights. For example, the following generator will generate 90% true and 10% false values.

    val trueFalse = Gen.weighted((Gen.const(true), 9), (Gen.const(false), 1))
  138. def whitespaceChars(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of whitespace characters.

  139. final def year(implicit trace: ZTraceElement): Gen[Random, Year]

    Permalink

    A generator of java.time.Year values.

    A generator of java.time.Year values. Shrinks toward Year.of(Year.MIN_VALUE).

    Definition Classes
    TimeVariants
  140. final def yearMonth(implicit trace: ZTraceElement): Gen[Random, YearMonth]

    Permalink

    A generator of java.time.YearMonth values.

    A generator of java.time.YearMonth values. Shrinks toward YearMonth.of(Year.MIN_VALUE, Month.JANUARY).

    Definition Classes
    TimeVariants
  141. final def zoneId(implicit trace: ZTraceElement): Gen[Random, ZoneId]

    Permalink

    A generator of java.time.ZoneId values.

    A generator of java.time.ZoneId values. Doesn't have any shrinking.

    Definition Classes
    TimeVariants
    Annotations
    @silent( "JavaConverters" )
  142. final def zoneOffset(implicit trace: ZTraceElement): Gen[Random, ZoneOffset]

    Permalink

    A generator of java.time.ZoneOffset values.

    A generator of java.time.ZoneOffset values. Shrinks toward ZoneOffset.MIN.

    Definition Classes
    TimeVariants
  143. final def zonedDateTime(implicit trace: ZTraceElement): Gen[Random, ZonedDateTime]

    Permalink

    A generator of java.time.ZonedDateTime values.

    A generator of java.time.ZonedDateTime values. Shrinks toward ZoneDateTime.of(LocalDateTime.MIN, zoneId).

    Definition Classes
    TimeVariants

Deprecated Value Members

  1. def anyASCIIChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of US-ASCII characters.

    A generator of US-ASCII characters. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asciiChar

  2. def anyASCIIString(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator US-ASCII strings.

    A generator US-ASCII strings. Shrinks towards the empty string.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asciiString

  3. def anyByte(implicit trace: ZTraceElement): Gen[Random, Byte]

    Permalink

    A generator of bytes.

    A generator of bytes. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use byte

  4. def anyChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of characters.

    A generator of characters. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use char

  5. final def anyDayOfWeek(implicit trace: ZTraceElement): Gen[Random, DayOfWeek]

    Permalink

    A generator of java.time.DayOfWeek values.

    A generator of java.time.DayOfWeek values. Shrinks toward DayOfWeek.MONDAY.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use dayOfWeek

  6. def anyDouble(implicit trace: ZTraceElement): Gen[Random, Double]

    Permalink

    A generator of doubles.

    A generator of doubles. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use double

  7. final def anyFiniteDuration(implicit trace: ZTraceElement): Gen[Random, zio.Duration]

    Permalink

    A generator of finite zio.duration.Duration values.

    A generator of finite zio.duration.Duration values. Shrinks toward Duration.Zero.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use finiteDuration

  8. def anyFloat(implicit trace: ZTraceElement): Gen[Random, Float]

    Permalink

    A generator of floats.

    A generator of floats. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use float

  9. def anyHexChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of hex chars(0-9,a-f,A-F).

    A generator of hex chars(0-9,a-f,A-F).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use hexChar

  10. final def anyInstant(implicit trace: ZTraceElement): Gen[Random, Instant]

    Permalink

    A generator of java.time.Instant values.

    A generator of java.time.Instant values. Shrinks toward Instant.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use instant

  11. def anyInt(implicit trace: ZTraceElement): Gen[Random, Int]

    Permalink

    A generator of integers.

    A generator of integers. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use int

  12. final def anyLocalDate(implicit trace: ZTraceElement): Gen[Random, LocalDate]

    Permalink

    A generator of java.time.LocalDate values.

    A generator of java.time.LocalDate values. Shrinks toward LocalDate.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use localDate

  13. final def anyLocalDateTime(implicit trace: ZTraceElement): Gen[Random, LocalDateTime]

    Permalink

    A generator of java.time.LocalDateTime values.

    A generator of java.time.LocalDateTime values. Shrinks toward LocalDateTime.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use localDateTime

  14. final def anyLocalTime(implicit trace: ZTraceElement): Gen[Random, LocalTime]

    Permalink

    A generator of java.time.LocalTime values.

    A generator of java.time.LocalTime values. Shrinks toward LocalTime.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use localTime

  15. def anyLong(implicit trace: ZTraceElement): Gen[Random, Long]

    Permalink

    A generator of longs.

    A generator of longs. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use long

  16. def anyLowerHexChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of lower hex chars(0-9, a-f).

    A generator of lower hex chars(0-9, a-f).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use hexCharLower

  17. final def anyMonth(implicit trace: ZTraceElement): Gen[Random, Month]

    Permalink

    A generator of java.time.Month values.

    A generator of java.time.Month values. Shrinks toward Month.JANUARY.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use month

  18. final def anyMonthDay(implicit trace: ZTraceElement): Gen[Random, MonthDay]

    Permalink

    A generator of java.time.MonthDay values.

    A generator of java.time.MonthDay values. Shrinks toward MonthDay.of(Month.JANUARY, 1).

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use monthDay

  19. final def anyOffsetDateTime(implicit trace: ZTraceElement): Gen[Random, OffsetDateTime]

    Permalink

    A generator of java.time.OffsetDateTime values.

    A generator of java.time.OffsetDateTime values. Shrinks toward OffsetDateTime.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use offsetDateTime

  20. final def anyOffsetTime(implicit trace: ZTraceElement): Gen[Random, OffsetTime]

    Permalink

    A generator of java.time.OffsetTime values.

    A generator of java.time.OffsetTime values. Shrinks torward OffsetTime.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use offsetTime

  21. final def anyPeriod(implicit trace: ZTraceElement): Gen[Random, Period]

    Permalink

    A generator of java.time.Period values.

    A generator of java.time.Period values. Shrinks toward Period.ZERO.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use period

  22. def anyShort(implicit trace: ZTraceElement): Gen[Random, Short]

    Permalink

    A generator of shorts.

    A generator of shorts. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use short

  23. def anyString(implicit trace: ZTraceElement): Gen[Random with Sized, String]

    Permalink

    A generator of strings.

    A generator of strings. Shrinks towards the empty string.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use string

  24. def anyUUID(implicit trace: ZTraceElement): Gen[Random, UUID]

    Permalink

    A generator of universally unique identifiers.

    A generator of universally unique identifiers. The returned generator will not have any shrinking.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use uuid

  25. def anyUnicodeChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of Unicode characters.

    A generator of Unicode characters. Shrinks toward '0'.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unicodeChar

  26. def anyUpperHexChar(implicit trace: ZTraceElement): Gen[Random, Char]

    Permalink

    A generator of upper hex chars(0-9, A-F).

    A generator of upper hex chars(0-9, A-F).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use hexCharUpper

  27. final def anyYear(implicit trace: ZTraceElement): Gen[Random, Year]

    Permalink

    A generator of java.time.Year values.

    A generator of java.time.Year values. Shrinks toward Year.of(Year.MIN_VALUE).

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use year

  28. final def anyYearMonth(implicit trace: ZTraceElement): Gen[Random, YearMonth]

    Permalink

    A generator of java.time.YearMonth values.

    A generator of java.time.YearMonth values. Shrinks toward YearMonth.of(Year.MIN_VALUE, Month.JANUARY).

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use yearMonth

  29. final def anyZoneId(implicit trace: ZTraceElement): Gen[Random, ZoneId]

    Permalink

    A generator of java.time.ZoneId values.

    A generator of java.time.ZoneId values. Doesn't have any shrinking.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zoneId

  30. final def anyZoneOffset(implicit trace: ZTraceElement): Gen[Random, ZoneOffset]

    Permalink

    A generator of java.time.ZoneOffset values.

    A generator of java.time.ZoneOffset values. Shrinks toward ZoneOffset.MIN.

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zoneOffset

  31. final def anyZonedDateTime(implicit trace: ZTraceElement): Gen[Random, ZonedDateTime]

    Permalink

    A generator of java.time.ZonedDateTime values.

    A generator of java.time.ZonedDateTime values. Shrinks toward ZoneDateTime.of(LocalDateTime.MIN, zoneId).

    Definition Classes
    TimeVariants
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zonedDateTime

  32. def crossAll[R, A](gens: Iterable[Gen[R, A]])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAll

  33. def crossN[R, A, B, C, D, F](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D])(f: (A, B, C, D) ⇒ F)(implicit trace: ZTraceElement): Gen[R, F]

    Permalink

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use cross

  34. def crossN[R, A, B, C, D](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C])(f: (A, B, C) ⇒ D)(implicit trace: ZTraceElement): Gen[R, D]

    Permalink

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use cross

  35. def crossN[R, A, B, C](gen1: Gen[R, A], gen2: Gen[R, B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): Gen[R, C]

    Permalink

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Composes the specified generators to create a cartesian product of elements with the specified function.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use cross

  36. def fromEffect[R, A](effect: URIO[R, A])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a value.

    Constructs a generator from an effect that constructs a value.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromZIO

  37. def fromEffectSample[R, A](effect: ZIO[R, Nothing, Sample[R, A]])(implicit trace: ZTraceElement): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a sample.

    Constructs a generator from an effect that constructs a sample.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromZIOSample

  38. def zipAll[R, A](gens: Iterable[Gen[R, A]])(implicit trace: ZTraceElement): Gen[R, List[A]]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAll

  39. def zipN[R, A, B, C, D, F, G, H, I, J, K, L](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D], gen5: Gen[R, F], gen6: Gen[R, G], gen7: Gen[R, H], gen8: Gen[R, I], gen9: Gen[R, J], gen10: Gen[R, K])(fn: (A, B, C, D, F, G, H, I, J, K) ⇒ L)(implicit trace: ZTraceElement): Gen[R, L]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  40. def zipN[R, A, B, C, D, F, G, H, I, J, K](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D], gen5: Gen[R, F], gen6: Gen[R, G], gen7: Gen[R, H], gen8: Gen[R, I], gen9: Gen[R, J])(fn: (A, B, C, D, F, G, H, I, J) ⇒ K)(implicit trace: ZTraceElement): Gen[R, K]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  41. def zipN[R, A, B, C, D, F, G, H, I, J](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D], gen5: Gen[R, F], gen6: Gen[R, G], gen7: Gen[R, H], gen8: Gen[R, I])(fn: (A, B, C, D, F, G, H, I) ⇒ J)(implicit trace: ZTraceElement): Gen[R, J]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  42. def zipN[R, A, B, C, D, F, G, H, I](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D], gen5: Gen[R, F], gen6: Gen[R, G], gen7: Gen[R, H])(fn: (A, B, C, D, F, G, H) ⇒ I)(implicit trace: ZTraceElement): Gen[R, I]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  43. def zipN[R, A, B, C, D, F, G, H](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D], gen5: Gen[R, F], gen6: Gen[R, G])(fn: (A, B, C, D, F, G) ⇒ H)(implicit trace: ZTraceElement): Gen[R, H]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  44. def zipN[R, A, B, C, D, F, G](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D], gen5: Gen[R, F])(fn: (A, B, C, D, F) ⇒ G)(implicit trace: ZTraceElement): Gen[R, G]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  45. def zipN[R, A, B, C, D, F](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C], gen4: Gen[R, D])(f: (A, B, C, D) ⇒ F)(implicit trace: ZTraceElement): Gen[R, F]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  46. def zipN[R, A, B, C, D](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C])(f: (A, B, C) ⇒ D)(implicit trace: ZTraceElement): Gen[R, D]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

  47. def zipN[R, A, B, C](gen1: Gen[R, A], gen2: Gen[R, B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): Gen[R, C]

    Permalink

    Zips the specified generators together pairwise.

    Zips the specified generators together pairwise. The new generator will generate elements as long as any generator is generating elements, running the other generators multiple times if necessary.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

Inherited from Serializable

Inherited from Serializable

Inherited from TimeVariants

Inherited from FunctionVariants

Inherited from GenZIO

Inherited from AnyRef

Inherited from Any

Ungrouped