fun Double.shouldBePositiveInfinity(): Unit
Verifies that this double is Double.POSITIVE_INFINITY
Opposite of shouldNotBePositiveInfinity
Double.POSITIVE_INFINITY.shouldBePositiveInfinity() // Assertion passes
1.0.shouldBePositiveInfinity() // Assertion fails
See Also