Table of Contents

Class GreaterThanOrEqualConstraint

Namespace
NUnit.Framework.Constraints
Assembly
nunit.framework.dll

Tests whether a value is greater than or equal to the value supplied to its constructor

public class GreaterThanOrEqualConstraint : ComparisonConstraint, IConstraint, IResolveConstraint
Inheritance
GreaterThanOrEqualConstraint
Implements
Inherited Members

Constructors

GreaterThanOrEqualConstraint(object)

Initializes a new instance of the GreaterThanOrEqualConstraint class.

public GreaterThanOrEqualConstraint(object expected)

Parameters

expected object

The 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 ComparisonAdapter
actual object
expected object
tolerance Tolerance

Returns

bool