fun <T : Comparable<T>> Expect<T>.isGreaterThanOrEqual(expected: T): Expect<T>
(source)
Expects that the subject of this
expectation is greater than or equal expected.
The comparison is carried out with Comparable.compareTo.
expect(2).isGreaterThanOrEqual(1)
expect(2).isGreaterThanOrEqual(2)
fails {
expect(1).isGreaterThanOrEqual(2)
}
Return
an Expect for the subject of this
expectation.