| PropExtensionsOrTLeftTestable, TRightTestable Method |
Wrapper method around FsCheck's .|. operator that fails if both properties fail.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Gen<Rose<Result>> Or<TLeftTestable, TRightTestable>(
TLeftTestable l,
TRightTestable r
)
Public Shared Function Or(Of TLeftTestable, TRightTestable) (
l As TLeftTestable,
r As TRightTestable
) As Gen(Of Rose(Of Result))
public:
generic<typename TLeftTestable, typename TRightTestable>
static Gen<Rose<Result^>^>^ Or(
TLeftTestable l,
TRightTestable r
)
static member Or :
l : 'TLeftTestable *
r : 'TRightTestable -> Gen<Rose<Result>>
Parameters
- l
- Type: TLeftTestable
The left property. - r
- Type: TRightTestable
The right property.
Type Parameters
- TLeftTestable
- Type of the left property.
- TRightTestable
- Type of the right property.
Return Value
Type:
GenRoseResultA property that fails if both properties fail.
See Also