RangeConstraint<TExpected>.

ApplyConstraint<TActual>(TActual) Method

Summary

Test whether the constraint is satisfied by a given value
Namespace
TCLite.Constraints
Containing Type
RangeConstraint<TExpected>

Syntax

protected override ConstraintResult ApplyConstraint<TActual>(TActual actual)

Type Parameters

Name Description
TActual

Parameters

Name Type Description
actual TActual The value to be tested

Return Value

Type Description
ConstraintResult True for success, false for failure