<PackageReference Include="NUnit" Version="3.8.1" />

GreaterThanOrEqualConstraint

Tests whether a value is greater than or equal to the value supplied to its constructor
namespace NUnit.Framework.Constraints { public class GreaterThanOrEqualConstraint : ComparisonConstraint { public GreaterThanOrEqualConstraint(object expected) : base(expected) { Description = "greater than or equal to " + MsgUtils.FormatValue(expected); } protected override bool PerformComparison(ComparisonAdapter comparer, object actual, object expected, Tolerance tolerance) { return comparer.Compare(actual, tolerance.ApplyToValue(expected).LowerBound) >= 0; } } }