infix fun Double.shouldBeLessThan(x: Double): Unit
Asserts that this Double is strictly less than x
Verifies that this Double is strictly less than x (excludes x itself).
Opposite of Double.shouldNotBeLessThan
0.1 shouldBeLessThan 0.0 // Assertion fails
0.1 shouldBeLessThan 0.1 // Assertion fails
0.1 shouldBeLessThan 0.2 // Assertion passes
See Also