EqualConstraint.Within(Object) Method

Definition

Flag the constraint to use a tolerance when determining equality.

public NUnit.Framework.Constraints.EqualConstraint Within (object amount);
member this.Within : obj -> NUnit.Framework.Constraints.EqualConstraint

Parameters

amount
Object

Tolerance value to be used

Returns

EqualConstraint

Self.

Applies to