Click or drag to resize
GenExtensionsZipT1, T2 Method (Gen`1T1, Gen`1T2)
Combines the given generators into one generator that produces a tuple of their generated values.

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static Gen<Tuple<T1, T2>> Zip<T1, T2>(
	Gen<T1> g1,
	Gen<T2> g2
)

Parameters

g1
Type: GenT1
The first generator.
g2
Type: GenT2
The second generator.

Type Parameters

T1
The type of elements generated by g1.
T2
The type of elements generated by g2.

Return Value

Type: GenTupleT1, T2
A generator that Combines the given generators into one generator that produces a tuple of their generated values.
See Also