Expectation::toBeNaN
Member of Expectation
idl
Expectation.toBeNaN, $
/_expect_failureVerifies that the expectation value is NaN. If the value is an array, every element must be NaN.
Examples
idl
(it.expects(!values.f_nan)).toBeNaN
(it.expects(5.0))._not_.toBeNaNKeywords
_expect_failure {#kw-_expect_failure}
optionalinputtype=BooleanIf the test fails for some reason, set this to force passing because we expected failure. This keyword is for internal use only.