| PropExtensionsAndAllTTestable Method |
Convenience method that applies FsCheck's .&. operator to a collection of properties and succeeds if all properties succeed.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Gen<Rose<Result>> AndAll<TTestable>(
params TTestable[] assertions
)
Public Shared Function AndAll(Of TTestable) (
ParamArray assertions As TTestable()
) As Gen(Of Rose(Of Result))
public:
generic<typename TTestable>
static Gen<Rose<Result^>^>^ AndAll(
... array<TTestable>^ assertions
)
static member AndAll :
assertions : 'TTestable[] -> Gen<Rose<Result>>
Parameters
- assertions
- Type: TTestable
The collection of properties.
Type Parameters
- TTestable
- Type of the properties in the collection. They must all be of the same type.
Return Value
Type:
GenRoseResultA property that succeeds if all properties succeed.
See Also