notToBeLessThan
Expects that the subject of this expectation is not less than expected. The comparison is carried out with Comparable.compareTo.
You could also use toBeGreaterThanOrEqualTo which is logically equivalent.
Return
an Expect for the subject of this expectation.
Since
0.17.0
Samples
expect(2).notToBeLessThan(1)
expect(2).notToBeLessThan(2)
fails {
expect(1).notToBeLessThan(2)
}Deprecated
'notToBeLessThan' is deprecated in favour of 'toBeAfterOrTheSamePointInTimeAs' which is based on ChronoZonedDateTime.isAfter and ChronoZonedDateTime.isEqual instead of compareTo
Replace with
toBeAfterOrTheSamePointInTimeAs(expected)Deprecated overload which shall help users to use toBeAfterOrTheSamePointInTimeAs instead.
Since
1.0.0
Deprecated
'notToBeLessThan' is deprecated in favour of 'toBeAfterOrTheSamePointInTimeAs' which is based on OffsetDateTime.isAfter and OffsetDateTime.isEqual instead of compareTo
Replace with
toBeAfterOrTheSamePointInTimeAs(expected)Deprecated overload which shall help users to use toBeAfterOrTheSamePointInTimeAs instead.
Since
1.3.0