GreaterThanConstraint<TExpected>.

Matches<T>(T) Method

Summary

Test whether the constraint is satisfied by a given value

Syntax

protected override bool Matches<T>(T actual)

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T The value to be tested

Return Value

Type Description
bool True for success, false for failure