EqualConstraint<TExpected>.

Within(object) Method

Summary

Flag the constraint to use a tolerance when determining equality.
Namespace
TCLite.Constraints
Containing Type
EqualConstraint<TExpected>

Syntax

public EqualConstraint<TExpected> Within(object amount)

Parameters

Name Type Description
amount object Tolerance value to be used

Return Value

Type Description
EqualConstraint<TExpected> Self.