C# Class UnityEngine.NUnit.Framework.Constraints.NaNConstraint

NaNConstraint tests that the actual value is a double or float NaN
Inheritance: Constraint
Mostrar archivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
Matches ( object actual ) : bool

Test that the actual value is an NaN

WriteDescriptionTo ( MessageWriter writer ) : void

Write the constraint description to a specified writer

Method Details

Matches() public method

Test that the actual value is an NaN
public Matches ( object actual ) : bool
actual object
return bool

WriteDescriptionTo() public method

Write the constraint description to a specified writer
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter
return void