Click or drag to resize
PropExtensionsImpliesTTestable Method
Wrapper method around FsCheck's ==> implication operator.

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static Gen<Rose<Result>> Implies<TTestable>(
	bool condition,
	TTestable assertion
)

Parameters

condition
Type: SystemBoolean
The condition which, if true, implies that the property should be tested.
assertion
Type: TTestable
The property to test if the condition is true.

Type Parameters

TTestable
Type of the property.

Return Value

Type: GenRoseResult
A property that does or doesn't test the assertion depending on the condition
See Also