| PropExtensionsLabelTTestable Method |
Wrapper method around FsCheck's |@ property operator.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Gen<Rose<Result>> Label<TTestable>(
TTestable assertion,
string name
)
Public Shared Function Label(Of TTestable) (
assertion As TTestable,
name As String
) As Gen(Of Rose(Of Result))
public:
generic<typename TTestable>
static Gen<Rose<Result^>^>^ Label(
TTestable assertion,
String^ name
)
static member Label :
assertion : 'TTestable *
name : string -> Gen<Rose<Result>>
Parameters
- assertion
- Type: TTestable
The property to be labelled. - name
- Type: SystemString
The label to apply to the property.
Type Parameters
- TTestable
- Type of the property.
Return Value
Type:
GenRoseResultA property
See Also