This comment is hidden because it contains spoiler information about the solution
Fixed in my Scala 3 update.
Some Scala final tests contain non-increasing sequences like the following:
test("Sample 3") { assert(Kata.solution(List(97, 98, 99, 100, 101, 102, -7, -6, 14, 15, 16, 17, 18, -46, -45, -44, -95, -74, 65, 66, 67, 68, 37, 38, 39, 40, 41, 42, 58, -31, -30, -29, -28, -27, -43, -42, -41, -40, -39, -38, -37, 52, 53, 54, 67, 68, 69, 70, 71, 72, -48, -47, -46, -45, -44)) === "97-102,-7,-6,14-18,-46--44,-95,-74,65-68,37-42,58,-31--27,-43--37,52-54,67-72,-48--44") }
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Fixed in my Scala 3 update.
Some Scala final tests contain non-increasing sequences like the following: