Object/Class

org.scalacheck

Gen

Related Docs: class Gen | package scalacheck

Permalink

object Gen extends GenArities

Linear Supertypes
GenArities, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Gen
  2. GenArities
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait Choose[T] extends AnyRef

    Permalink

    A wrapper type for range types

  2. sealed abstract class Parameters extends AnyRef

    Permalink

    Generator parameters, used by org.scalacheck.Gen.apply

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. object Choose

    Permalink

    Provides implicit org.scalacheck.Gen.Choose instances

  5. object Parameters

    Permalink

    Provides methods for creating org.scalacheck.Gen.Parameters values

  6. def alphaChar: Gen[Char]

    Permalink

    Generates an alpha character

  7. def alphaLowerChar: Gen[Char]

    Permalink

    Generates a lower-case alpha character

  8. def alphaNumChar: Gen[Char]

    Permalink

    Generates an alphanumerical character

  9. def alphaStr: Gen[String]

    Permalink

    Generates a string of alpha characters

  10. def alphaUpperChar: Gen[Char]

    Permalink

    Generates an upper-case alpha character

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def buildableOf[C, T](g: Gen[T])(implicit evb: Buildable[T, C], evt: (C) ⇒ Traversable[T]): Gen[C]

    Permalink

    Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance.

    Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance. The elements in the container will be generated by the given generator. The size of the container is bounded by the size parameter used when generating values.

  13. def buildableOfN[C, T](n: Int, g: Gen[T])(implicit evb: Buildable[T, C], evt: (C) ⇒ Traversable[T]): Gen[C]

    Permalink

    Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance.

    Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance. The elements in the container will be generated by the given generator. The size of the generated container is limited by n. Depending on what kind of container that is generated, the resulting container may contain fewer elements than n, but not more. If the given generator fails generating a value, the complete container generator will also fail.

  14. lazy val calendar: Gen[Calendar]

    Permalink
  15. def choose[T](min: T, max: T)(implicit c: Choose[T]): Gen[T]

    Permalink

    A generator that generates a random value in the given (inclusive) range.

    A generator that generates a random value in the given (inclusive) range. If the range is invalid, the generator will not generate any value.

  16. def chooseNum[T](minT: T, maxT: T, specials: T*)(implicit num: Numeric[T], c: Choose[T]): Gen[T]

    Permalink

    Generates numbers within the given inclusive range, with extra weight on zero, +/- unity, both extremities, and any special numbers provided.

    Generates numbers within the given inclusive range, with extra weight on zero, +/- unity, both extremities, and any special numbers provided. The special numbers must lie within the given range, otherwise they won't be included.

  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. implicit def const[T](x: T): Gen[T]

    Permalink

    A generator that always generates the given value

  19. def containerOf[C[_], T](g: Gen[T])(implicit evb: Buildable[T, C[T]], evt: (C[T]) ⇒ Traversable[T]): Gen[C[T]]

    Permalink

    A convenience method for calling buildableOf[C[T],T](g).

  20. def containerOfN[C[_], T](n: Int, g: Gen[T])(implicit evb: Buildable[T, C[T]], evt: (C[T]) ⇒ Traversable[T]): Gen[C[T]]

    Permalink

    A convenience method for calling buildableOfN[C[T],T](n,g).

  21. def delay[T](g: ⇒ Gen[T]): Gen[T]

    Permalink

    Wraps a generator for later evaluation.

    Wraps a generator for later evaluation. The given parameter is evaluated each time the wrapper generator is evaluated.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def fail[T]: Gen[T]

    Permalink

    A generator that never generates a value

  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. implicit def freqTuple[T](t: (Int, T)): (Int, Gen[T])

    Permalink

    Implicit convenience method for using the frequency method like this:

    Implicit convenience method for using the frequency method like this:

    frequency((1, "foo"), (3, "bar"))
  27. def frequency[T](gs: (Int, Gen[T])*): Gen[T]

    Permalink

    Chooses one of the given generators with a weighted random distribution

  28. def fromOption[T](o: Option[T]): Gen[T]

    Permalink

    A generator that fails if the provided option value is undefined, otherwise just returns the value.

  29. def function0[A](g: Gen[A]): Gen[() ⇒ A]

    Permalink

    Creates a Function0 generator.

  30. def function1[T1, Z](g: Gen[Z])(implicit co1: Cogen[T1]): Gen[(T1) ⇒ Z]

    Permalink

    Gen creator for Function1

    Gen creator for Function1

    Definition Classes
    GenArities
  31. def function10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ Z]

    Permalink

    Gen creator for Function10

    Gen creator for Function10

    Definition Classes
    GenArities
  32. def function11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ Z]

    Permalink

    Gen creator for Function11

    Gen creator for Function11

    Definition Classes
    GenArities
  33. def function12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ Z]

    Permalink

    Gen creator for Function12

    Gen creator for Function12

    Definition Classes
    GenArities
  34. def function13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ Z]

    Permalink

    Gen creator for Function13

    Gen creator for Function13

    Definition Classes
    GenArities
  35. def function14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ Z]

    Permalink

    Gen creator for Function14

    Gen creator for Function14

    Definition Classes
    GenArities
  36. def function15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ Z]

    Permalink

    Gen creator for Function15

    Gen creator for Function15

    Definition Classes
    GenArities
  37. def function16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ Z]

    Permalink

    Gen creator for Function16

    Gen creator for Function16

    Definition Classes
    GenArities
  38. def function17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16], co17: Cogen[T17]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ Z]

    Permalink

    Gen creator for Function17

    Gen creator for Function17

    Definition Classes
    GenArities
  39. def function18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16], co17: Cogen[T17], co18: Cogen[T18]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ Z]

    Permalink

    Gen creator for Function18

    Gen creator for Function18

    Definition Classes
    GenArities
  40. def function19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16], co17: Cogen[T17], co18: Cogen[T18], co19: Cogen[T19]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ Z]

    Permalink

    Gen creator for Function19

    Gen creator for Function19

    Definition Classes
    GenArities
  41. def function2[T1, T2, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2]): Gen[(T1, T2) ⇒ Z]

    Permalink

    Gen creator for Function2

    Gen creator for Function2

    Definition Classes
    GenArities
  42. def function20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16], co17: Cogen[T17], co18: Cogen[T18], co19: Cogen[T19], co20: Cogen[T20]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ Z]

    Permalink

    Gen creator for Function20

    Gen creator for Function20

    Definition Classes
    GenArities
  43. def function21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16], co17: Cogen[T17], co18: Cogen[T18], co19: Cogen[T19], co20: Cogen[T20], co21: Cogen[T21]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ Z]

    Permalink

    Gen creator for Function21

    Gen creator for Function21

    Definition Classes
    GenArities
  44. def function22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9], co10: Cogen[T10], co11: Cogen[T11], co12: Cogen[T12], co13: Cogen[T13], co14: Cogen[T14], co15: Cogen[T15], co16: Cogen[T16], co17: Cogen[T17], co18: Cogen[T18], co19: Cogen[T19], co20: Cogen[T20], co21: Cogen[T21], co22: Cogen[T22]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ Z]

    Permalink

    Gen creator for Function22

    Gen creator for Function22

    Definition Classes
    GenArities
  45. def function3[T1, T2, T3, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3]): Gen[(T1, T2, T3) ⇒ Z]

    Permalink

    Gen creator for Function3

    Gen creator for Function3

    Definition Classes
    GenArities
  46. def function4[T1, T2, T3, T4, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4]): Gen[(T1, T2, T3, T4) ⇒ Z]

    Permalink

    Gen creator for Function4

    Gen creator for Function4

    Definition Classes
    GenArities
  47. def function5[T1, T2, T3, T4, T5, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5]): Gen[(T1, T2, T3, T4, T5) ⇒ Z]

    Permalink

    Gen creator for Function5

    Gen creator for Function5

    Definition Classes
    GenArities
  48. def function6[T1, T2, T3, T4, T5, T6, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6]): Gen[(T1, T2, T3, T4, T5, T6) ⇒ Z]

    Permalink

    Gen creator for Function6

    Gen creator for Function6

    Definition Classes
    GenArities
  49. def function7[T1, T2, T3, T4, T5, T6, T7, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7]): Gen[(T1, T2, T3, T4, T5, T6, T7) ⇒ Z]

    Permalink

    Gen creator for Function7

    Gen creator for Function7

    Definition Classes
    GenArities
  50. def function8[T1, T2, T3, T4, T5, T6, T7, T8, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8) ⇒ Z]

    Permalink

    Gen creator for Function8

    Gen creator for Function8

    Definition Classes
    GenArities
  51. def function9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Z](g: Gen[Z])(implicit co1: Cogen[T1], co2: Cogen[T2], co3: Cogen[T3], co4: Cogen[T4], co5: Cogen[T5], co6: Cogen[T6], co7: Cogen[T7], co8: Cogen[T8], co9: Cogen[T9]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ Z]

    Permalink

    Gen creator for Function9

    Gen creator for Function9

    Definition Classes
    GenArities
  52. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  54. def identifier: Gen[String]

    Permalink

    Generates a string that starts with a lower-case alpha character, and only contains alphanumerical characters

  55. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  56. def listOf[T](g: ⇒ Gen[T]): Gen[List[T]]

    Permalink

    Generates a list of random length.

    Generates a list of random length. The maximum length depends on the size parameter. This method is equal to calling containerOf[List,T](g).

  57. def listOfN[T](n: Int, g: Gen[T]): Gen[List[T]]

    Permalink

    Generates a list of the given length.

    Generates a list of the given length. This method is equal to calling containerOfN[List,T](n,g).

  58. def lzy[T](g: ⇒ Gen[T]): Gen[T]

    Permalink

    Wraps a generator lazily.

    Wraps a generator lazily. The given parameter is only evaluated once, and not until the wrapper generator is evaluated.

  59. def mapOf[T, U](g: ⇒ Gen[(T, U)]): Gen[Map[T, U]]

    Permalink

    Generates a map of random length.

    Generates a map of random length. The maximum length depends on the size parameter. This method is equal to calling containerOf[Map,T,U](g).

  60. def mapOfN[T, U](n: Int, g: Gen[(T, U)]): Gen[Map[T, U]]

    Permalink

    Generates a map of with at least the given number of elements.

    Generates a map of with at least the given number of elements. This method is equal to calling containerOfN[Map,T,U](n,g).

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

    Permalink
    Definition Classes
    AnyRef
  62. def negNum[T](implicit num: Numeric[T], c: Choose[T]): Gen[T]

    Permalink

    Generates negative numbers of uniform distribution, with an lower bound of the negated generation size parameter.

  63. def nonEmptyBuildableOf[C, T](g: Gen[T])(implicit evb: Buildable[T, C], evt: (C) ⇒ Traversable[T]): Gen[C]

    Permalink

    Generates a non-empty container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance.

    Generates a non-empty container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance. The elements in the container will be generated by the given generator. The size of the container is bounded by the size parameter used when generating values.

  64. def nonEmptyContainerOf[C[_], T](g: Gen[T])(implicit evb: Buildable[T, C[T]], evt: (C[T]) ⇒ Traversable[T]): Gen[C[T]]

    Permalink

    A convenience method for calling nonEmptyBuildableOf[C[T],T](g).

  65. def nonEmptyListOf[T](g: ⇒ Gen[T]): Gen[List[T]]

    Permalink

    Generates a non-empty list of random length.

    Generates a non-empty list of random length. The maximum length depends on the size parameter. This method is equal to calling nonEmptyContainerOf[List,T](g).

  66. def nonEmptyMap[T, U](g: ⇒ Gen[(T, U)]): Gen[Map[T, U]]

    Permalink

    Generates a non-empty map of random length.

    Generates a non-empty map of random length. The maximum length depends on the size parameter. This method is equal to calling nonEmptyContainerOf[Map,T,U](g).

  67. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  69. def numChar: Gen[Char]

    Permalink

    Generates a numerical character

  70. def numStr: Gen[String]

    Permalink

    Generates a string of digits

  71. def oneOf[T](g0: Gen[T], g1: Gen[T], gn: Gen[T]*): Gen[T]

    Permalink

    Picks a random generator from a list

  72. def oneOf[T](t0: T, t1: T, tn: T*): Gen[T]

    Permalink

    Picks a random value from a list

  73. def oneOf[T](xs: Seq[T]): Gen[T]

    Permalink

    Picks a random value from a list

  74. def option[T](g: Gen[T]): Gen[Option[T]]

    Permalink

    Makes a generator result optional.

    Makes a generator result optional. Either Some(T) or None will be provided.

  75. def parameterized[T](f: (Parameters) ⇒ Gen[T]): Gen[T]

    Permalink

    Creates a generator that can access its generation parameters

  76. def pick[T](n: Int, g1: Gen[T], g2: Gen[T], gn: Gen[T]*): Gen[Seq[T]]

    Permalink

    A generator that picks a given number of elements from a list, randomly

  77. def pick[T](n: Int, l: Iterable[T]): Gen[Seq[T]]

    Permalink

    A generator that picks a given number of elements from a list, randomly

  78. def posNum[T](implicit num: Numeric[T], c: Choose[T]): Gen[T]

    Permalink

    Generates positive numbers of uniform distribution, with an upper bound of the generation size parameter.

  79. def resize[T](s: Int, g: Gen[T]): Gen[T]

    Permalink

    Creates a resized version of a generator

  80. def resultOf[T, R](f: (T) ⇒ R)(implicit a: Arbitrary[T]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    Gen → GenArities
  81. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16], a17: Arbitrary[T17], a18: Arbitrary[T18], a19: Arbitrary[T19], a20: Arbitrary[T20], a21: Arbitrary[T21], a22: Arbitrary[T22]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  82. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16], a17: Arbitrary[T17], a18: Arbitrary[T18], a19: Arbitrary[T19], a20: Arbitrary[T20], a21: Arbitrary[T21]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  83. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16], a17: Arbitrary[T17], a18: Arbitrary[T18], a19: Arbitrary[T19], a20: Arbitrary[T20]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  84. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16], a17: Arbitrary[T17], a18: Arbitrary[T18], a19: Arbitrary[T19]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  85. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16], a17: Arbitrary[T17], a18: Arbitrary[T18]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  86. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16], a17: Arbitrary[T17]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  87. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15], a16: Arbitrary[T16]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  88. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14], a15: Arbitrary[T15]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  89. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13], a14: Arbitrary[T14]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  90. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12], a13: Arbitrary[T13]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  91. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11], a12: Arbitrary[T12]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  92. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10], a11: Arbitrary[T11]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  93. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9], a10: Arbitrary[T10]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  94. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8], a9: Arbitrary[T9]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  95. def resultOf[T1, T2, T3, T4, T5, T6, T7, T8, R](f: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  96. def resultOf[T1, T2, T3, T4, T5, T6, T7, R](f: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  97. def resultOf[T1, T2, T3, T4, T5, T6, R](f: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  98. def resultOf[T1, T2, T3, T4, T5, R](f: (T1, T2, T3, T4, T5) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  99. def resultOf[T1, T2, T3, T4, R](f: (T1, T2, T3, T4) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  100. def resultOf[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  101. def resultOf[T1, T2, R](f: (T1, T2) ⇒ R)(implicit a1: Arbitrary[T1], a2: Arbitrary[T2]): Gen[R]

    Permalink

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.

    Definition Classes
    GenArities
  102. def sequence[C, T](gs: Traversable[Gen[T]])(implicit b: Buildable[T, C]): Gen[C]

    Permalink

    Sequences generators.

    Sequences generators. If any of the given generators fails, the resulting generator will also fail.

  103. lazy val size: Gen[Int]

    Permalink

    A generator that returns the current generation size

  104. def sized[T](f: (Int) ⇒ Gen[T]): Gen[T]

    Permalink

    Creates a generator that can access its generation size

  105. def some[T](g: Gen[T]): Gen[Option[T]]

    Permalink

    A generator that returns Some(T)

  106. def someOf[T](g1: Gen[T], g2: Gen[T], gs: Gen[T]*): Gen[Seq[T]]

    Permalink

    A generator that picks a random number of elements from a list

  107. def someOf[T](l: Iterable[T]): Gen[Seq[T]]

    Permalink

    A generator that picks a random number of elements from a list

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  110. lazy val uuid: Gen[UUID]

    Permalink

    Generates a version 4 (random) UUID.

  111. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  114. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16], g17: Gen[T17], g18: Gen[T18], g19: Gen[T19], g20: Gen[T20], g21: Gen[T21], g22: Gen[T22]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  115. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16], g17: Gen[T17], g18: Gen[T18], g19: Gen[T19], g20: Gen[T20], g21: Gen[T21]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  116. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16], g17: Gen[T17], g18: Gen[T18], g19: Gen[T19], g20: Gen[T20]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  117. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16], g17: Gen[T17], g18: Gen[T18], g19: Gen[T19]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  118. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16], g17: Gen[T17], g18: Gen[T18]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  119. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16], g17: Gen[T17]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  120. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15], g16: Gen[T16]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  121. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14], g15: Gen[T15]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  122. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13], g14: Gen[T14]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  123. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12], g13: Gen[T13]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  124. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11], g12: Gen[T12]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  125. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10], g11: Gen[T11]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  126. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9], g10: Gen[T10]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  127. def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8], g9: Gen[T9]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  128. def zip[T1, T2, T3, T4, T5, T6, T7, T8](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7], g8: Gen[T8]): Gen[(T1, T2, T3, T4, T5, T6, T7, T8)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  129. def zip[T1, T2, T3, T4, T5, T6, T7](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6], g7: Gen[T7]): Gen[(T1, T2, T3, T4, T5, T6, T7)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  130. def zip[T1, T2, T3, T4, T5, T6](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5], g6: Gen[T6]): Gen[(T1, T2, T3, T4, T5, T6)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  131. def zip[T1, T2, T3, T4, T5](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4], g5: Gen[T5]): Gen[(T1, T2, T3, T4, T5)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  132. def zip[T1, T2, T3, T4](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3], g4: Gen[T4]): Gen[(T1, T2, T3, T4)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  133. def zip[T1, T2, T3](g1: Gen[T1], g2: Gen[T2], g3: Gen[T3]): Gen[(T1, T2, T3)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  134. def zip[T1, T2](g1: Gen[T1], g2: Gen[T2]): Gen[(T1, T2)]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities
  135. def zip[T1](g1: Gen[T1]): Gen[T1]

    Permalink

    Combines the given generators into one generator that produces a tuple of their generated values.

    Combines the given generators into one generator that produces a tuple of their generated values.

    Definition Classes
    GenArities

Deprecated Value Members

  1. def wrap[T](g: ⇒ Gen[T]): Gen[T]

    Permalink

    Wraps a generator for later evaluation.

    Wraps a generator for later evaluation. The given parameter is evaluated each time the wrapper generator is evaluated. This has been deprecated in favor of org.scalacheck.Gen.delay.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.13.0) Replaced with delay()

Inherited from GenArities

Inherited from AnyRef

Inherited from Any

Ungrouped