Click or drag to resize
GenExtensions Class
Additional combinators inspired by ScalaCheck.
Inheritance Hierarchy
SystemObject
  FsCheckUtilsGenExtensions

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static class GenExtensions

The GenExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberPickGeneratorsT(Int32, GenT)
A generator that picks a given number of elements from a list of generators, randomly.
Public methodStatic memberPickGeneratorsT(Int32, IEnumerableGenT)
A generator that picks a given number of elements from a list of generators, randomly.
Public methodStatic memberPickValuesT(Int32, IEnumerableT)
A generator that picks a given number of elements from a list, randomly.
Public methodStatic memberPickValuesT(Int32, T)
A generator that picks a given number of elements from a list, randomly.
Public methodStatic memberRetryUntilT
Create a generator that calls gen repeatedly until the given condition is fulfilled. The generated value is then returned. Use this combinator with care, since it may result in infinite loops.
Public methodStatic memberSomeOfGeneratorsT(GenT)
A generator that picks a random number of elements from a list of generators.
Public methodStatic memberSomeOfGeneratorsT(IEnumerableGenT)
A generator that picks a random number of elements from a list of generators.
Public methodStatic memberSomeOfValuesT(IEnumerableT)
A generator that picks a random number of elements from a list.
Public methodStatic memberSomeOfValuesT(T)
A generator that picks a random number of elements from a list.
Public methodStatic memberZipT1, T2(GenT1, GenT2)
Combines the given generators into one generator that produces a tuple of their generated values.
Public methodStatic memberZipT1, T2, T3(GenT1, GenT2, GenT3)
Combines the given generators into one generator that produces a tuple of their generated values.
Public methodStatic memberZipT1, T2, T3, T4(GenT1, GenT2, GenT3, GenT4)
Combines the given generators into one generator that produces a tuple of their generated values.
Public methodStatic memberZipT1, T2, T3, T4, T5(GenT1, GenT2, GenT3, GenT4, GenT5)
Combines the given generators into one generator that produces a tuple of their generated values.
Public methodStatic memberZipT1, T2, T3, T4, T5, T6(GenT1, GenT2, GenT3, GenT4, GenT5, GenT6)
Combines the given generators into one generator that produces a tuple of their generated values.
Public methodStatic memberZipT1, T2, T3, T4, T5, T6, T7(GenT1, GenT2, GenT3, GenT4, GenT5, GenT6, GenT7)
Combines the given generators into one generator that produces a tuple of their generated values.
Top
Properties
  NameDescription
Public propertyStatic memberAlphaChar
Generates an alpha character.
Public propertyStatic memberAlphaLowerChar
Generates a lower-case alpha character.
Public propertyStatic memberAlphaNumChar
Generates an alphanumerical character.
Public propertyStatic memberAlphaStr
Generates a string of alpha characters.
Public propertyStatic memberAlphaUpperChar
Generates an upper-case alpha character.
Public propertyStatic memberGuid
Generates a version 4 (random) UUID. See this link for more information.
Public propertyStatic memberIdentifier
Generates a string that starts with a lower-case alpha character, and only contains alphanumerical characters.
Public propertyStatic memberNumChar
Generates a numerical character.
Public propertyStatic memberNumStr
Generates a string of digits.
Top
See Also