NaN Constraint 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);