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

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.
public EqualNumericConstraint(T expected)

Initializes a new instance of the EqualConstraint class.