Class GreaterThanConstraint
- Namespace
- NUnit.Framework.Constraints
- Assembly
- nunit.framework.dll
Tests whether a value is greater than the value supplied to its constructor
public class GreaterThanConstraint : ComparisonConstraint, IConstraint, IResolveConstraint
- Inheritance
-
GreaterThanConstraint
- Implements
- Inherited Members
Constructors
GreaterThanConstraint(object)
Initializes a new instance of the GreaterThanConstraint class.
public GreaterThanConstraint(object expected)
Parameters
expected
objectThe expected value.
Methods
PerformComparison(ComparisonAdapter, object, object, Tolerance)
Perform the comparison
protected override bool PerformComparison(ComparisonAdapter comparer, object actual, object expected, Tolerance tolerance)
Parameters
comparer
ComparisonAdapteractual
objectexpected
objecttolerance
Tolerance