Asserts that given value is NaN.
NaN
The value to check.
Optional
Optional reason added to exception message when assertion fails.
AssertionError when value is not NaN.
Asserts that given value is
NaN
.