Kotlin, Testing, Software Development, Functional Programming.
smallerInt(a: Int ): Int = a -1 } This is how this kind of code is usually tested import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe class MathOpsTest : StringSpec({ "lengthProportion calculates the proportion between two strings" { val str1 = "1234" val str2 = "12"