Assert.IsNaN Assert.IsNaN tests that the specified double value is NaN. Assert.IsNaN(double aDouble); Assert.IsNaN(double aDouble, string message, params object[] params); See Also Condition Constraints