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

EqualNumericConstraint<T>

EqualNumericConstraint is able to compare an actual value with the expected value provided in its constructor. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types.
namespace NUnit.Framework.Constraints { public class EqualNumericConstraint<T> : EqualNumericWithoutUsingConstraint<T>, IEqualWithUsingConstraint<T> where T : struct { public EqualNumericConstraint(T expected) : base(expected) { } } }