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. val alphaNumericChar: Gen[Random, Char]

    Permalink

    A generator of alphanumeric characters.

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

  5. val alphaNumericString: Gen[Random with Sized, String]

    Permalink

    A generator of alphanumeric strings.

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

  6. def alphaNumericStringBounded(min: Int, max: Int): Gen[Random with Sized, String]

    Permalink

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

  7. val anyByte: Gen[Random, Byte]

    Permalink

    A generator of bytes.

    A generator of bytes. Shrinks toward '0'.

  8. val anyChar: Gen[Random, Char]

    Permalink

    A generator of characters.

    A generator of characters. Shrinks toward '0'.

  9. val anyDouble: Gen[Random, Double]

    Permalink

    A generator of doubles.

    A generator of doubles. Shrinks toward '0'.

  10. final def anyFiniteDuration: Gen[Random, 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
  11. val anyFloat: Gen[Random, Float]

    Permalink

    A generator of floats.

    A generator of floats. Shrinks toward '0'.

  12. final def anyInstant: 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
  13. val anyInt: Gen[Random, Int]

    Permalink

    A generator of integers.

    A generator of integers. Shrinks toward '0'.

  14. final def anyLocalDateTime: 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
  15. val anyLong: Gen[Random, Long]

    Permalink

    A generator of longs.

    A generator of longs. Shrinks toward '0'.

  16. final def anyOffsetDateTime: 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
  17. val anyShort: Gen[Random, Short]

    Permalink

    A generator of shorts.

    A generator of shorts. Shrinks toward '0'.

  18. def anyString: Gen[Random with Sized, String]

    Permalink

    A generator of strings.

    A generator of strings. Shrinks towards the empty string.

  19. val anyUUID: Gen[Random, UUID]

    Permalink

    A generator of universally unique identifiers.

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

  20. val anyUnicodeChar: Gen[Random, Char]

    Permalink

    A generator of Unicode characters.

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

  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def bigDecimal(min: BigDecimal, max: BigDecimal): 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.

  23. def bigInt(min: BigInt, max: BigInt): 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").

  24. val boolean: Gen[Random, Boolean]

    Permalink

    A generator of booleans.

    A generator of booleans. Shrinks toward 'false'.

  25. def bounded[R <: Random, A](min: Int, max: Int)(f: (Int) ⇒ Gen[R, A]): Gen[R, A]

    Permalink

    A generator whose size falls within the specified bounds.

  26. def byte(min: Byte, max: Byte): 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").

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

    Permalink

    A generator of Cause values

    A generator of Cause values

    Definition Classes
    GenZIO
  28. final def chained[R <: Random with Sized, Env, E, A](gen: Gen[R, ZIO[Env, E, A]]): 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
  29. final def chainedN[R <: Random, Env, E, A](n: Int)(zio: Gen[R, ZIO[Env, E, A]]): 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
  30. def char(min: Char, max: Char): 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").

  31. def chunkOf[R <: Random with Sized, A](g: Gen[R, A]): Gen[R, Chunk[A]]

    Permalink

    A sized generator of chunks.

  32. def chunkOf1[R <: Random with Sized, A](g: Gen[R, A]): Gen[R, NonEmptyChunk[A]]

    Permalink

    A sized generator of non-empty chunks.

  33. def chunkOfBounded[R <: Random, A](min: Int, max: Int)(g: Gen[R, A]): Gen[R, Chunk[A]]

    Permalink

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

  34. def chunkOfN[R <: Random, A](n: Int)(g: Gen[R, A]): Gen[R, Chunk[A]]

    Permalink

    A generator of chunks of the specified size.

  35. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def concurrent[R, E, A](zio: ZIO[R, E, A]): 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
  37. def const[A](a: ⇒ A): Gen[Any, A]

    Permalink

    A constant generator of the specified value.

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

    Permalink

    A constant generator of the specified sample.

  39. def crossAll[R, A](gens: Iterable[Gen[R, A]]): Gen[R, List[A]]

    Permalink

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

  40. 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): Gen[R, F]

    Permalink

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

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

    Permalink

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

  42. def crossN[R, A, B, C](gen1: Gen[R, A], gen2: Gen[R, B])(f: (A, B) ⇒ C): Gen[R, C]

    Permalink

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

  43. final def died[R](gen: Gen[R, Throwable]): Gen[R, ZIO[Any, Nothing, 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
  44. def double(min: Double, max: Double): 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").

  45. def either[R <: Random, A, B](left: Gen[R, A], right: Gen[R, B]): Gen[R, Either[A, B]]

    Permalink
  46. def elements[A](as: A*): Gen[Random, A]

    Permalink
  47. val empty: Gen[Any, Nothing]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  50. val exponential: 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.

  51. final def failures[R, E](gen: Gen[R, E]): Gen[R, ZIO[Any, 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
  52. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  53. final def finiteDuration(min: Duration, max: Duration): Gen[Random, 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
  54. def fromEffect[R, A](effect: ZIO[R, Nothing, A]): Gen[R, A]

    Permalink

    Constructs a generator from an effect that constructs a value.

  55. 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.

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

    Permalink

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

  57. final def fromRandom[A](f: (Service) ⇒ 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.

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

    Permalink

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

  59. final def function[R, A, B](gen: Gen[R, B]): 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
  60. final def function2[R, A, B, C](gen: Gen[R, C]): 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
  61. final def function3[R, A, B, C, D](gen: Gen[R, D]): 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
  62. final def function4[R, A, B, C, D, E](gen: Gen[R, E]): 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
  63. final def functionWith[R, A, B](gen: Gen[R, B])(hash: (A) ⇒ Int): 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
  64. final def functionWith2[R, A, B, C](gen: Gen[R, C])(hash: (A, B) ⇒ Int): 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
  65. final def functionWith3[R, A, B, C, D](gen: Gen[R, D])(hash: (A, B, C) ⇒ Int): 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
  66. final def functionWith4[R, A, B, C, D, E](gen: Gen[R, E])(hash: (A, B, C, D) ⇒ Int): 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
  67. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  69. final def instant(min: Instant, max: Instant): 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
  70. def int(min: Int, max: Int): 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").

  71. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  72. def large[R <: Random with Sized, A](f: (Int) ⇒ Gen[R, A], min: Int = 0): 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.

  73. def listOf[R <: Random with Sized, A](g: Gen[R, A]): Gen[R, List[A]]

    Permalink
  74. def listOf1[R <: Random with Sized, A](g: Gen[R, A]): Gen[R, ::[A]]

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

    Permalink

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

  76. def listOfN[R <: Random, A](n: Int)(g: Gen[R, A]): Gen[R, List[A]]

    Permalink
  77. final def localDateTime(min: LocalDateTime, max: LocalDateTime): 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. def long(min: Long, max: Long): 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").

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

    Permalink

    A sized generator of maps.

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

    Permalink

    A sized generator of non-empty maps.

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

    Permalink

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

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

    Permalink

    A generator of maps of the specified size.

  83. def medium[R <: Random with Sized, A](f: (Int) ⇒ Gen[R, A], min: Int = 0): 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.

  84. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  85. val none: Gen[Any, Option[Nothing]]

    Permalink

    A constant generator of the empty value.

  86. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  88. final def offsetDateTime(min: OffsetDateTime, max: OffsetDateTime): 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
  89. def oneOf[R <: Random, A](as: Gen[R, A]*): Gen[R, A]

    Permalink
  90. def option[R <: Random, A](gen: Gen[R, A]): Gen[R, Option[A]]

    Permalink

    A generator of optional values.

    A generator of optional values. Shrinks toward None.

  91. final def parallel[R, E, A](zio: ZIO[R, E, A]): 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
  92. def partialFunction[R <: Random, A, B](gen: Gen[R, B]): 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.

  93. def partialFunctionWith[R <: Random, A, B](gen: Gen[R, B])(hash: (A) ⇒ Int): 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.

  94. val printableChar: Gen[Random, Char]

    Permalink

    A generator of printable characters.

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

  95. def setOf[R <: Random with Sized, A](gen: Gen[R, A]): Gen[R, Set[A]]

    Permalink

    A sized generator of sets.

  96. def setOf1[R <: Random with Sized, A](gen: Gen[R, A]): Gen[R, Set[A]]

    Permalink

    A sized generator of non-empty sets.

  97. def setOfBounded[R <: Random, A](min: Int, max: Int)(g: Gen[R, A]): Gen[R, Set[A]]

    Permalink

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

  98. def setOfN[R <: Random, A](n: Int)(gen: Gen[R, A]): Gen[R, Set[A]]

    Permalink

    A generator of sets of the specified size.

  99. def short(min: Short, max: Short): 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").

  100. def size: Gen[Sized, Int]

    Permalink
  101. def sized[R <: Sized, A](f: (Int) ⇒ Gen[R, A]): Gen[R, A]

    Permalink

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

  102. def small[R <: Random with Sized, A](f: (Int) ⇒ Gen[R, A], min: Int = 0): 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.

  103. def some[R, A](gen: Gen[R, A]): Gen[R, Option[A]]

    Permalink
  104. def string[R <: Random with Sized](char: Gen[R, Char]): Gen[R, String]

    Permalink
  105. def string1[R <: Random with Sized](char: Gen[R, Char]): Gen[R, String]

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

    Permalink

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

  107. def stringN[R <: Random](n: Int)(char: Gen[R, Char]): Gen[R, String]

    Permalink
  108. final def successes[R, A](gen: Gen[R, A]): Gen[R, ZIO[Any, Nothing, A]]

    Permalink

    A generator of successful effects.

    A generator of successful effects.

    Definition Classes
    GenZIO
  109. def suspend[R, A](gen: ⇒ Gen[R, A]): 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.

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

    Permalink
    Definition Classes
    AnyRef
  111. val throwable: Gen[Random, Throwable]

    Permalink

    A generator of throwables.

  112. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  113. def uniform: 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.

  114. val unit: Gen[Any, Unit]

    Permalink

    A constant generator of the unit value.

  115. def vectorOf[R <: Random with Sized, A](g: Gen[R, A]): Gen[R, Vector[A]]

    Permalink
  116. def vectorOf1[R <: Random with Sized, A](g: Gen[R, A]): Gen[R, Vector[A]]

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

    Permalink

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

  118. def vectorOfN[R <: Random, A](n: Int)(g: Gen[R, A]): Gen[R, Vector[A]]

    Permalink
  119. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. def weighted[R <: Random, A](gs: (Gen[R, A], Double)*): 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))
  123. def zipAll[R, A](gens: Iterable[Gen[R, A]]): 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.

  124. 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): 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.

  125. def zipN[R, A, B, C, D](gen1: Gen[R, A], gen2: Gen[R, B], gen3: Gen[R, C])(f: (A, B, C) ⇒ D): 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.

  126. def zipN[R, A, B, C](gen1: Gen[R, A], gen2: Gen[R, B])(f: (A, B) ⇒ C): 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.

Inherited from Serializable

Inherited from Serializable

Inherited from TimeVariants

Inherited from FunctionVariants

Inherited from GenZIO

Inherited from AnyRef

Inherited from Any

Ungrouped