what's the most Kotest-iest way of checking if all...
# kotest
a
what's the most Kotest-iest way of checking if all elements of a
List<Duration>
are less than any from another
List<Duration>
?
l
I'd go with a mathematical thinking and go
Copy code
firstList.max() shouldBeLessThan secondList.min()
think smart 1
💥 1
a
should
firstFinishedTest
be
minOf
because presumably
maxOf
should be last finished test?
a
d'oh, yes, bad copy paste 🤦