fun Double.shouldNotBeNaN(): Unit
Assert that this Double is not Double.NaN
Verifies that this Double is NOT the Not-a-Number constant Double.NaN
Opposite of shouldBeNaN
1.0.shouldNotBeNaN() // Assertion passes
Double.NaN.shouldNotBeNaN() // Assertion fails
See Also