We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We get false positives for when nullable numeric types are used:
false
[TestCase(null, null)] [TestCase(1, 1)] [TestCase(1.01, 1)] public void Nullables(double? actual, double? expected) { Assert.That(actual, Is.EqualTo(expected).Within(0.1)); }
If the values are not null, the NumericsComparer will use the tolerance.
null
NumericsComparer
Allow Nullable<T> where T itself is allowed.
Nullable<T>
T
The text was updated successfully, but these errors were encountered:
manfred-brands
Successfully merging a pull request may close this issue.
We get
false
positives for when nullable numeric types are used:If the values are not
null
, theNumericsComparer
will use the tolerance.Allow
Nullable<T>
whereT
itself is allowed.The text was updated successfully, but these errors were encountered: