Search Results for

    Show / Hide Table of Contents

    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);
    
    • Edit this page
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0