infix fun Double.shouldBeGreaterThan(x: Double): Unit
Asserts that this Double is strictly greater than x
Verifies that this Double is strictly greater than than x (excludes x itself]
Opposite of Double.shouldNotBeGreaterThan
0.2 shouldBeGreaterThan 0.1 // Assertion passes
0.2 shouldBeGreaterThan 0.2 // Assertion fails
0.2 shouldBeGreaterThan 0.3 // Assertion fails
See Also