Kotlin, Kotest, Property Based Testing.
valueArb.bind().setScale(2, RoundingMode.HALF_UP).toDouble() totalSum += value positions.add(createInputPositionArb(value).bind()) } if (totalSum < 0.0) { positions.add(createInputPositionArb(abs(totalSum)).bind()) } positions.toList() } This function is an example how I can include logic for