Expectation::toBeInfinite
Member of Expectation
idl
Expectation.toBeInfinite, $
/_expect_failureVerifies that the expectation value is positive or negative infinity. If the value is an array, every element must be infinite.
Examples
idl
(it.expects(!values.f_infinity)).toBeInfinite
(it.expects(5.0))._not_.toBeInfiniteKeywords
_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.