You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have an assertion which can check if the Collection is already sorted. The assertion would also accept a Comparator instance to verify with. Similar (or same) as AssertJ
It would be something along these lines:
list shouldBeSortedAccordingTo Comparator.comparingInt { it.position }
or
list shouldBeSortedBy Comparator.comparingInt { it.position }
This could then be chained to a structure like this
It would be great to have an assertion which can check if the Collection is already sorted. The assertion would also accept a
Comparator
instance to verify with. Similar (or same) as AssertJIt would be something along these lines:
or
This could then be chained to a structure like this
The text was updated successfully, but these errors were encountered: