NaNConstraint - jnm2/nunit-docs-wiki GitHub Wiki

NaNConstraint tests that a value is floating-point NaN.

Constructor

NaNConstraint()

Syntax

Is.NaN

Examples of Use

Assert.That(aDouble, Is.NaN);
Assert.That(aDouble, Is.Not.NaN);
⚠️ **GitHub.com Fallback** ⚠️