Class NaNConstraint
NaNConstraint tests that the actual value is a double or float NaN
Inheritance
NaNConstraint
Assembly: nunit.framework.dll
Syntax
public class NaNConstraint : Constraint, IConstraint, IResolveConstraint
Constructors
View Source
NaNConstraint()
Declaration
Properties
View Source
Description
The Description of what this constraint tests, for
use in messages and in the ConstraintResult.
Declaration
public override string Description { get; }
Property Value
Overrides
Methods
View Source
ApplyTo<TActual>(TActual)
Test that the actual value is an NaN
Declaration
public override ConstraintResult ApplyTo<TActual>(TActual actual)
Parameters
Type |
Name |
Description |
TActual |
actual |
|
Returns
Type Parameters
Overrides
Implements