<PackageReference Include="nunit" Version="2.5.10.11092" />

RangeConstraint

public class RangeConstraint : Constraint
RangeConstraint tests whethe two values are within a specified range.

Initializes a new instance of the RangeConstraint class.

public RangeConstraint Using(IComparer comparer)

Modifies the constraint to use an IComparer and returns self.

public RangeConstraint Using<T>(IComparer<T> comparer)

Modifies the constraint to use an IComparer<T> and returns self.

public RangeConstraint Using<T>(Comparison<T> comparer)

Modifies the constraint to use a Comparison<T> and returns self.