Class GreaterThanOrEqualConstraint
Tests whether a value is greater than or equal to the value supplied to its constructor
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class GreaterThanOrEqualConstraint : ComparisonConstraint, IConstraint, IResolveConstraint
Constructors
View SourceGreaterThanOrEqualConstraint(object)
Initializes a new instance of the GreaterThanOrEqualConstraint class.
Declaration
public GreaterThanOrEqualConstraint(object expected)
Parameters
Type | Name | Description |
---|---|---|
object | expected | The expected value. |
Methods
View SourcePerformComparison(ComparisonAdapter, object, object, Tolerance)
Perform the comparison
Declaration
protected override bool PerformComparison(ComparisonAdapter comparer, object actual, object expected, Tolerance tolerance)
Parameters
Type | Name | Description |
---|---|---|
ComparisonAdapter | comparer | |
object | actual | |
object | expected | |
Tolerance | tolerance |
Returns
Type | Description |
---|---|
bool |