Namespace: FsCheck.Fluent
Assembly: FsCheck.dll
Base Type:
obj
Static member | Description |
|
Generates one-dimensional arrays. The length of the generated array is between 0 and size. The sum of the sizes of the elements is equal to the size of the generated array.
|
|
Construct an Arbitrary instance for a type that can be mapped to and from another type (e.g. a wrapper), based on a Arbitrary instance for the source type and two mapping functions.
|
|
Return an Arbitrary instance that is a filtered version of an existing arbitrary instance. The generator uses Gen.where, and the shrinks are filtered using Seq.filter with the given predicate.
|
|
Construct an Arbitrary instance from a generator and shrinker.
|
|
Construct an Arbitrary instance from a generator. Shrink is not supported for this type.
|
|
Return an Arbitrary instance that is a mapped and filtered version of an existing arbitrary instance. The generator uses Gen.map with the given mapper and then Gen.where with the given predicate, and the shrinks are filtered using Seq.filter with the given predicate. This is sometimes useful if using just a filter would reduce the chance of getting a good value from the generator - and you can map the value instead. E.g. PositiveInt.
|
|
Generates nullable values that are null 1/8 of the time.
|
|
Construct an Arbitrary instance from a generator and shrinker.
|
|
Construct an Arbitrary instance from a generator. Shrink is not supported for this type.
|
|
|